Android Studio中无法访问SDK管理器 [英] Android Studio can't access SDK Manager
问题描述
我刚刚下载并安装的Android 0.4.2的工作室,并加载了一个Android项目。这个项目给了我这个错误:
I have just downloaded and installed Android studio 0.4.2 and loaded an android project. This project gives me this error:
Cause: failed to find target android-17
Please install the missing platform from the Android SDK Manager.
如此之大,我现在将进入SDK管理器,并获得丢失的平台。唯一的问题是,我无法访问SDK管理器。该SDK管理器按钮是灰色的,当我去的工具,对于Android的任何选项,所以我不能去toold
我如何能解决这个问题的任何想法?我使用的Eclipse ADT与前从未有过这个问题...
so great, I will now go into the SDK manager, and get the missing platform. The only problem is, I cannot access the SDK Manager. The SDK manager button is grayed out and when I go to tools, there is no option for android, so I can't go to toold
Any ideas on how I can fix this problem? I have used Eclipse with ADT before and never had this issue...
推荐答案
从
File > Close project
这样做会采取OU到Android Studio的欢迎屏幕。从那里导航到该路径
doing this will take ou to the Android Studio welcome screen. From there navigate to this path
Configure > Project Defaults > Project Structure > Android SDK
在这里设置你的Android SDK的位置,可以从软件开发工具包内标签同他屏幕中查看所有API的级别。
Set you Android SDK location here, you can check all API's level from he same screen inside SDKs tab.
现在再次导入您的项目。您可以打开该项目后,设置项目的具体SDK
Now import your project again. You can set project specific SDK after opening the project from
File > Project Structure
这篇关于Android Studio中无法访问SDK管理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!