我有一个具有本机(C ++)组件的Android项目。直到最近,该项目始终都能成功编译,但是几天前Gradle开始发出此错误:
A problem occurred configuring project ':app'.
> No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
这是build.gradle
文件:
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion '25.0.0'
flavorDimensions "mode"
productFlavors {
full {
ndk {
abiFilter "armeabi-v7a"
dimension "mode"
}
}
}
defaultConfig {
applicationId "com.regothproject.regoth"
minSdkVersion 21
targetSdkVersion 21
versionCode 1
versionName "1.0"
externalNativeBuild {
cmake { ... }
}
}
buildTypes { ... }
externalNativeBuild {
cmake {
path '../../CMakeLists.txt'
}
}
}
在项目的任何地方都没有提到mips64el-linux-android
ABI,所以我不确定是什么触发了此事...