Android Studio:解析SDK失败可能缺少目录加载项 [英] Android Studio: Fail to parse SDK may be missing the directory add-ons

查看:57
本文介绍了Android Studio:解析SDK失败可能缺少目录加载项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Android 软件开发的新手.当我尝试编写第一个android程序时,在我选择完所有基本设置后会弹出一个窗口,说它无法解析SDK,并且可能缺少附加组件"目录.我检查了我刚刚安装的 SDK 文件夹,SDK 文件夹存在,里面也有很多东西.谁能告诉我如何解决这个问题?

I am new to android software development. When I try to write the first android program, a pop up window shows up after I finish choosing all the basic settings, said that it fail to parse SDK, and the directory 'add-ons' might be missing. I check the SDK folder I just install, and the SDK folder exist, also with plenty of stuff inside. Can anyone tell me how to solve this problem?

推荐答案

SDK 与 Android Studio 捆绑在一起,您无需单独下载.

The SDK is bundled with Android Studio, you don't have to download it separately.

我在两台安装了 Android Studio 的机器上都看到了这个问题 - 安装时没有创建附加组件"目录.

I've seen this issue on both machines I've installed Android Studio on - the "add-ons" directory doesn't get created at install.

假设您使用的是 64 位 Windows 并安装到默认位置,请查看此处:

Assuming you're on 64 bit Windows and installed to default location, look here:

*C:\Program Files (x86)\Android\android-studio\sdk*

如果您没有Program Files (x86)"文件夹,请查看Program Files"

If you don't have a "Program Files (x86)" folder, look in "Program Files"

我敢打赌那里没有附加组件"文件夹.如果没有,请创建一个,然后启动 Android Studio.您应该看不到任何问题.

I'd bet there's no "add-ons" folder in there. If not, create one and than start Android Studio. You should see no problems.

这篇关于Android Studio:解析SDK失败可能缺少目录加载项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆