赞
踩
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ‘:app’.
> No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
* Try:
Run with — stacktrace option to get the stack trace. Run with — info or — debug option to get more log output.
* Get more help at https://help.gradle.org
CONFIGURE FAILED in 10s
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
Gradle 3.0.1 需要这个目录…
$ cat ~/sdb/tmp/android-ndk-r17c/toolchains/mips64el-linux-android-4.9/prebuilt/linux-x86_64/NOTICE-MIPS64
This mips64el-linux-android-4.9 directory exists to make the NDK compatible with the Android
SDK’s Gradle plugin, version 3.0.1 and earlier, which expects the NDK
to have a MIPS64 toolchain directory.
mkdir -p android-sdk-linux/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/linux-x86_64
mkdir -p android-sdk-linux/ndk-bundle/toolchains/mipsel-linux-android-4.9/prebuilt/linux-x86_64
ndk-bundle/toolchains 下增加多两个空文件夹即可
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。