错误NDK is missing a platforms directory.
编译错误提示:Gradle sync failed: Could not run build action using Gradle distribution 'https://services.gradle.org/distributions/gradle-4.1-all.zip'.
点击Gradle Console
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to D:\AndroidStudioSDK\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
不言而喻,NDK缺少一个“platforms”目录。如果您正在使用NDK,请验证NDK。将dir设置为有效的NDK目录。目前它被设置为D: AndroidStudioSDK\ndk-bundle。如果不使用NDK,请从ANDROID_NDK_HOME或local中卸载NDK变量。属性删除此警告。
这个错误Google 的坑。目前只有兼容最新的NDK版本才能解决。
解决办法:
1.打开SDK Manager
2.勾选上NDK最新版本,安装成功后Apply
3.安装完成后重新build下项目搞定!
错误NDK is missing a platforms directory.相关推荐
- 错误NDK is missing a “platforms“ directory.
https://blog.csdn.net/github_36787585/article/details/82841129 编译错误提示:Gradle sync failed: Could not ...
- 解决 NDK is missing a “platforms“ directory.
Android 项目编译报错: NDK is missing a "platforms" directory. If you are using NDK, verify the n ...
- NDK is missing a platforms directory. 问题解决
问题描述 NDK is missing a "platforms" directory. If you are using NDK, verify the ndk.dir is s ...
- Android NDK: WARNING: Ignoring unknown import directory:错误解决方法
Android NDK: WARNING: Ignoring unknown import directory:错误解决方法 添加NDK模块路径(参考,具体视情况): NDK_MODULE_PATH ...
- sshd启动报错解决:Missing privilege separation directory: /run/sshd
报错: Missing privilege separation directory: /run/sshd解决: # sudo mkdir /run/sshd
- 解决 Ubuntu upgrade 常见错误 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw
解决 Ubuntu upgrade 常见错误 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw for - 1 出现的错 ...
- python 错误之SyntaxError: Missing parentheses in call to 'print'
SyntaxError: Missing parentheses in call to 'print' 由于python的版本差异,造成的错误. python2: print "hello ...
- 编译错误syntax error : missing ';' before 'type'原因探寻
在VC6中运行以下代码 //main.c #include <stdio.h> int main() { chara[100]; memset(&a, 0, 100); charb ...
- MySQL 服务无法启动--服务没有报告任何错误 ---Failed to find valid data directory.
系统重装后重新安装mysql环境,各种踩坑.服务无法启动 mysqld --console 查看详细错误:Failed to find valid data directory 发现mysql目录没有 ...
最新文章
- 【NOIP2016】组合数问题
- LNMP添加、删除虚拟主机及伪静态使用教程
- 畅通工程再续_MST(hdu 1875)
- “爸爸,什么是机器学习呀?”
- python正则_python的正则表达式
- .net中调用exchange服务器发邮件
- 比特币,以太坊......区块链技术真的被认同了吗?
- SpringMVC注解 @initbinder 解决类型转换问题
- 【链接】 一篇很好的有关卡特兰数的博文
- 解决phpmailer可以在windows下面发送成功, 在linux下面失败的问题
- github中markdown语言的使用规则
- 自动驾驶仿真软件汇总-2021
- 基于python的opc读写和导入MSSQL/MYSQL的KepOPC中间件
- 台式计算机如何安装摄像头,台式机怎样安装摄像头
- 用javascript为页面添加蒙版效果和弹出层
- java 好和不好的形容词 英语怎么说_常用英语形容词,不好的形容事情的形容词英语。...
- Python的文献计量分析流程实现--含代码
- 践行社会责任的路上,中概股们看到了怎样的风景?
- 新店速递丨白玉兰(商务)酒店赣榆吾悦广场店 正式上线
- 字节跳动40W大数据开发岗,面试也不过如此
热门文章
- 法规标准-GB/T 39265标准解读(2020版)
- 数学一年级应用题_小学一年级数学下册应用题练习题归纳
- 2016/2/18 html 图片热点,网页划区,拼接,表单
- Photoshop界面字体太小解决方案
- VS2015强制卸载
- python自动进直播_(1/5)手把手教你如何录制b站直播,并且借助python实现部分自动化...
- 【思维导图】vue的思维导图(超全的)
- SAP-MM-PA精解分析系列之基本介绍(03) -组织架构(附加篇-后台配置)
- pdf怎么转换成jpg格式的图片,5种方法详细教程
- matlab_tts更改为在线获取百度语音合成