Android studio 旧版本的代码导入 高版本的AS中的时候可能会报这个错误
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
导致 这个错误的原因有多种,个人发现的一种情况是因为
gradle 版本导致的问题
解决方法 项目中的 build.gradle 文件中的
dependencies { classpath 'com.android.tools.build:gradle:3.2.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }
的版本号,我之前的是 2.1 的改成 3.2.1的版本之后就好了