可能缺少目录插件

可能缺少目录插件

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

问题描述

我是安卓软件开发的新手.当我尝试编写第一个 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)Androidandroid-studiosdk*

如果您没有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 可能缺少目录插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 00:04