Android Studio 之 gradle build 错误:Error:No toolchains found in the NDK toolchains folder
2019-08-22 15:41
2855 查看
版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/qq_41811438/article/details/100016186
详细的gradle build错误如下:
Error:No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
Consult IDE log for more details (Help | Show Log)
原因是:配置了无效的NDK路径。
可以直接修改local.properties文件,在其中添加:
ndk.dir=<NDK所在的绝对路径>
比如我的配置如下:
ndk.dir=D\:\\Android\\android-ndk-r12b
或者通过File --> Project Structure ... --> SDK Location 如下图所示:
---- The End.
相关文章推荐
- Error:No toolchains found in the NDK toolchains folder for ABI with prefix: x86_64
- Error:No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi
- 解决“Error:No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android”
- 解决"No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android"错误
- Error:No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi
- No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
- No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi
- No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
- Android Studio 编译报错 : toolchains found in the NDK toolchains folder for ABI with prefix: XXX 解决方案
- No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
- No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
- No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
- error: intel ipp库中的错误:No dlls were found in the waterfall procedure
- error: intel ipp库中的错误:No dlls were found in the waterfall procedure
- 上传ipa时遭遇错误:ERROR ITMS - 90167 No. app bundles found in the package
- iOS app 发布错误 ERROR ITMS-90167: "No .app bundles found in the package"
- 利用命令部署springBoot项目出现ERROR] No plugin found for prefix ‘spring-boot’ in the current的错误
- ubuntu android studio 编译及运行错误Error retrieving parent for item: No resource found that matches the given name
- 使用maven 的阿里仓库配置时出现这样的错误,[ERROR] No plugin found for prefix 'help' in the current project,
- 解决错误ERROR: No suitable Java found. In order to properly use the Android Developer Tools,…