安卓项目编译NDK报错:NDK is missing a "pl

2021-02-24  本文已影响0人  思考的种子
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:\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升级到最新导致的编译失败

尝试按照网上搜索的解决方法解决:

添加了缺少文件的目录.png 修改项目NDK路径.png 修改路径后编译新增的ndk路径.png 错误2.png

这种重启解决的一般就是缓存问题,习惯就好,毕竟翻墙不易

上一篇下一篇

猜你喜欢

热点阅读