本文主要是介绍Android Studio No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
产生原因:新版本NDK更新记录中声:
This version of the NDK is incompatible with the Android Gradle pluginversion 3.0 or older. If you see an error like`No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android`,update your project file to [use plugin version 3.1 or newer]. You will alsoneed to upgrade to Android Studio 3.1 or newer.
也就是说新版本的NDK与3.0及以前旧版的Android Gradle plugin插件不兼容
其实解决方法很简单,就是修改build.gradle中的红字部分,改为3.1以上版本即可
dependencies {classpath 'com.android.tools.build:gradle:4.0.0'
}
这篇关于Android Studio No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!