当前位置 : 主页 > 手机开发 > android >

Android Studio配置本地SDK的方法

来源:互联网 收集:自由互联 发布时间:2021-05-09
Android Studio配置本地SDK 问题一: Android Studio报错:SDK does not contain any platforms. 解决方法:本地SDK应放到名为platforms的外层文件夹内。 例子:D:\SDK\platforms… (选择路径时选取到SDK文件夹

Android Studio配置本地SDK

Android Studio配置本地SDK

问题一:Android Studio报错:SDK does not contain any platforms.

SDK does not contain any platforms.

解决方法:本地SDK应放到名为platforms的外层文件夹内。
例子:D:\SDK\platforms… (选择路径时选取到SDK文件夹即可)

问题二:Android SDK location should not contain whitespace, as this can cause problems with the NDK tools.

Android SDK location should not contain whitespace, as this can cause problems with the NDK tools.

解决方法:很明显SDK的路径中不能含有空格,重命名带空格的文件夹或转移SDK至其他目录即可。

完成

完成

推荐Android Studio及SDK下载地址:
https://developer.android.google.cn/(官方)
https://www.androiddevtools.cn/

到此这篇关于Android Studio配置本地SDK的方法的文章就介绍到这了,更多相关Android Studio配置本地SDK内容请搜索自由互联以前的文章或继续浏览下面的相关文章希望大家以后多多支持自由互联!

网友评论