zoukankan      html  css  js  c++  java
  • No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android"

    安装完NDK的时候出现了这个错误,网上的办法是下载旧版的NDK,将其中的toolchain复制到新版的NDK中。

    但其实不用这么麻烦。

    经过对新版NDK的研究,发现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以上版本即可,另外AS的版本也要升级到3.1或者3.1以上。

    dependencies {
    classpath 'com.android.tools.build:gradle:3.2.0'

    }

  • 相关阅读:
    NOI2015 小园丁和老司机
    退役记
    留言板
    $mathfrak {reputation}$
    计算几何基础
    HNOI2018简要题解
    JXOI2018简要题解
    BJOI2018简要题解
    HAOI2018 简要题解
    CQOI2018简要题解
  • 原文地址:https://www.cnblogs.com/tangZH/p/10458536.html
Copyright © 2011-2022 走看看