Gradle Sync Issues:
ERROR: No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
This version of the NDK may be incompatible with the Android Gradle plugin version 3.0 or older.
Please use plugin version 3.1 or newer.
这是因为在项目的gradle文件中配置的Android Gradle plugin版本过低,和NDK包版本不匹配造成的。解决方法有两个:
- 将Android Gradle plugin版本配置成3.1或以上;
- 去NDK下载网站下载17c或以下版本的NDK包,解压后将子目录toolchains中的前缀为"mips64el-linux-android"的文件拷贝到Android SDK包/ndk-bundle/toolchains目录下。