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.相关推荐

  1. 错误NDK is missing a “platforms“ directory.

    https://blog.csdn.net/github_36787585/article/details/82841129 编译错误提示:Gradle sync failed: Could not ...

  2. 错误NDK is missing a platforms directory.

    编译错误提示:Gradle sync failed: Could not run build action using Gradle distribution 'https://services.gr ...

  3. NDK is missing a platforms directory. 问题解决

    问题描述 NDK is missing a "platforms" directory. If you are using NDK, verify the ndk.dir is s ...

  4. Android NDK: WARNING: Ignoring unknown import directory:错误解决方法

     Android NDK: WARNING: Ignoring unknown import directory:错误解决方法 添加NDK模块路径(参考,具体视情况): NDK_MODULE_PATH ...

  5. sshd启动报错解决:Missing privilege separation directory: /run/sshd

    报错: Missing privilege separation directory: /run/sshd解决: # sudo mkdir /run/sshd

  6. Android解决NDK not configured问题

    Android解决NDK not configured问题 参考文章: (1)Android解决NDK not configured问题 (2)https://www.cnblogs.com/chen ...

  7. 成功解决TypeError: drop() missing 1 required positional argument: 'labels'

    成功解决TypeError: drop() missing 1 required positional argument: 'labels' 目录 解决问题 解决思路 解决方法 解决问题 TypeEr ...

  8. 解决thrift: ···No such file or directory问题

    解决thrift: ···No such file or directory问题 参考文章: (1)解决thrift: ···No such file or directory问题 (2)https: ...

  9. 解决 Android Studio 报SDK tools directory is missing

    原文来自 链接: https://www.cnblogs.com/liminghuang/p/8976258.html. 打开Android studio的工程结构目录,设置好JDK 和SDK的目录即 ...

最新文章

  1. WEB浏览器兼容(转)
  2. libjpeg的问题
  3. Android--OkHttp理解系列(一)
  4. xml 连表查询(2) --自关联! 查询父类name,显示父类下的所有子类
  5. Mylyn 2.0,第 1 部分: 集成的任务管理
  6. hadoop-02-关闭防火墙
  7. Django REST framework 的快速入门教程
  8. Gensim官方教程翻译(二)——主题与转换(Topics and Transformations)
  9. JavaWeb — 获取复选框的值时,要注意不是得到显示的值,而是得到value值
  10. java并发编程(1)--线程 可见性 volatile怎么用
  11. ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.
  12. C语言丨约瑟夫问题(约瑟夫环)
  13. vst和vst3插件_用于家庭录音的经典VST插件
  14. 将Word转换成Pdf
  15. 模电_第六章_负反馈电路
  16. Python 二维码生成工具
  17. 有密码的PDF文件如何编辑?
  18. Summary - 文件导出测试
  19. 液晶拼接屏仍然是安防监控的应用领域
  20. BootStrap栅格之间留出空隙

热门文章

  1. php 进度条百分比算法,实例讲解Ajax实现简单带百分比进度条
  2. mybatis-plus 多列映射成数组_JavaScript 为什么需要类数组
  3. opencv中resize函数
  4. MFC_Combo_Box(组合框)的详细用法
  5. php怎么获取手机屏,使用PHP获得屏幕分辨率
  6. Ocelot(二)- 请求聚合与负载均衡
  7. Nginx10m+高并发内核优化详解
  8. 提高WPF程序性能的几条建议
  9. 华为云AIOps实践全面解析
  10. 一个jsp内嵌一个jsp