Android Studio 无法访问 SDK 管理器 [英] Android Studio can't access SDK Manager

查看:84
本文介绍了Android Studio 无法访问 SDK 管理器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载并安装了 Android studio 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 Manager.SDK管理器按钮是灰色的,当我去工具时,没有android的选项,所以我不能去工具

关于如何解决这个问题的任何想法?我之前用过带有 ADT 的 Eclipse,从来没有遇到过这个问题...

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

这样做将带您进入 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 位置,您可以在 SDK 选项卡内的同一屏幕上查看所有 API 的级别.

Set you Android SDK location here, you can check all API's level from he same screen inside SDKs tab.

现在再次导入您的项目.从

Now import your project again. You can set project specific SDK after opening the project from

File > Project Structure 

这篇关于Android Studio 无法访问 SDK 管理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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