博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android"
阅读量:7216 次
发布时间:2019-06-29

本文共 668 字,大约阅读时间需要 2 分钟。

安装完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'

}

转载于:https://www.cnblogs.com/tangZH/p/10458536.html

你可能感兴趣的文章
vue2.0 与 bootstrap datetimepicker的结合使用
查看>>
ant design后台模板-1.前端环境搭建
查看>>
什么是npm ?
查看>>
php 中continue break exit return 的区别
查看>>
敏捷爽畅模型及其演变——Diana Larsen专访
查看>>
Bootstrap 4 正式发布,却可能生不逢时
查看>>
PWA即将推向所有Chrome平台
查看>>
修复.NET的HttpClient
查看>>
服务应该去版本化,不管是微服务还是SOA
查看>>
GitHub Draft Pull请求支持新的协作流程
查看>>
JShell:Java REPL综合指南
查看>>
为你的组织设计自己的障碍消除流程
查看>>
为什么你写的代码糟透了?
查看>>
使用Flutter一年后,这是我得到的经验
查看>>
滴滴进入寒冬期,将裁员2000人
查看>>
被批伪开源!刚刚融资6千万美元的Redis怎么了?
查看>>
专访刘刚:360手机卫士的性能监控与优化
查看>>
去哪儿网消息队列设计与实现
查看>>
MySQL 5.7中的更多改进,包括计算列
查看>>
书评与访谈:Scrum for Managers
查看>>