NDK错(一)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zsp_android_com/article/details/83620848

日志

No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android

本地查

分析

NDK更新记录

This version of the NDK is incompatible with the Android Gradle plugin version 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 also need 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:3.2.0`

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

其它

下旧版NDK,复制toolchain至新版NDK

猜你喜欢

转载自blog.csdn.net/zsp_android_com/article/details/83620848
ndk