Android Studio配置本地SDK 问题一:Android Studio报错:SDK does not contain any platforms. 解决方法:本地SDK应放到名为platforms的外层文件夹内。 例子:D:\SDK\platforms… (选择路径时选取到SDK文件夹即可&#x…
编译错误提示: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, verif…
https://blog.csdn.net/github_36787585/article/details/82841129
编译错误提示: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 missi…
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已…