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 fro…
在Android Studio中配置NDK时,可能出现NDK does not contain any platforms的错误,这是因为NDK版本过高,不适配当前版本的Android Studio。
解决方法
打开SDK manager,勾选“show Package Details”,下拉寻找并下载报…
设置NDK路径时,报错提示:NDK does not contain any platforms 网上找到了分析:
android studio - NDK does not contain any platforms - Stack Overflow
大概是说这是历史原因,早前的AS版本会寻找platforms文件夹, 而NDK team已…
问题场景
最近帮朋友改一个网上买的音视频社交项目,导入Android Sdutio后编译一直提示以下错误。
> Configure project :OpenGLlibrary
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK d…
Android Studio运行报错: failed to load include path…… 一、报错提示二、解决方案1.查看SDK下载的版本(也可以按此下载不同版本的SDK)2.确定模拟器对应的Android版本3. 下载SDK4.更改对应的编译的SDK的版本5.退出Android Studioÿ…