解决 NDK is missing a “platforms“ directory.
Android 项目编译报错:
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:\soft\Android\Sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
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:\soft\Android\Sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
解决方法:
ndk 目录没有设置,或者设置不对
首先确保下载了ndk
然后在local.properties 里面增加ndk.dir
ndk.dir=D\:\\soft\\Android\\Sdk\\ndk\\21.3.6528147
然后Sync project 一下即可
解决 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.
编译错误提示:Gradle sync failed: Could not run build action using Gradle distribution 'https://services.gr ...
- 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
- Android解决NDK not configured问题
Android解决NDK not configured问题 参考文章: (1)Android解决NDK not configured问题 (2)https://www.cnblogs.com/chen ...
- 成功解决TypeError: drop() missing 1 required positional argument: 'labels'
成功解决TypeError: drop() missing 1 required positional argument: 'labels' 目录 解决问题 解决思路 解决方法 解决问题 TypeEr ...
- 解决thrift: ···No such file or directory问题
解决thrift: ···No such file or directory问题 参考文章: (1)解决thrift: ···No such file or directory问题 (2)https: ...
- 解决 Android Studio 报SDK tools directory is missing
原文来自 链接: https://www.cnblogs.com/liminghuang/p/8976258.html. 打开Android studio的工程结构目录,设置好JDK 和SDK的目录即 ...
最新文章
- WEB浏览器兼容(转)
- libjpeg的问题
- Android--OkHttp理解系列(一)
- xml 连表查询(2) --自关联! 查询父类name,显示父类下的所有子类
- Mylyn 2.0,第 1 部分: 集成的任务管理
- hadoop-02-关闭防火墙
- Django REST framework 的快速入门教程
- Gensim官方教程翻译(二)——主题与转换(Topics and Transformations)
- JavaWeb — 获取复选框的值时,要注意不是得到显示的值,而是得到value值
- java并发编程(1)--线程 可见性 volatile怎么用
- ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.
- C语言丨约瑟夫问题(约瑟夫环)
- vst和vst3插件_用于家庭录音的经典VST插件
- 将Word转换成Pdf
- 模电_第六章_负反馈电路
- Python 二维码生成工具
- 有密码的PDF文件如何编辑?
- Summary - 文件导出测试
- 液晶拼接屏仍然是安防监控的应用领域
- BootStrap栅格之间留出空隙