Android的找不到SDK错误 [英] Android SDK not found error

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

问题描述

我正在使用Facebook的SDK的Andr​​oid项目。一切都很正常,直到今天。当我试图运行它提供了以下错误的项目。

I was working on an Android Project that uses Facebook SDK. Everything was fine until today. When I tried to run the project it gives the following error.

Unable to resolve target 'android-10' until the SDK is loaded

虽然我有SDK 2.3.3(等级10),它不会出现在项目属性。在Eclipse的性能它说,

Although I have SDK 2.3.3 (Level 10), it doesn't appear in the project properties. In properties of Eclipse it says,

This Android SDK requires Android Developer Toolkit version 21.1.0 or above.  Current version is 21.0.0.2012-10-31-0-17.  Please update ADT to the latest version.

然而,据Android SDK中经理,我已经安装了最新版本(见下图)。

However, according to Android SDK Manager, I already installed the latest version (see image below).

我怎样才能解决这个问题?任何帮助将是AP preciated,先谢谢了。

How can I resolve the problem? Any help would be appreciated, thanks in advance.

编辑:

我使用的Mac OSX 10.8,而我试图重新启动Eclipse和操作系统。

I'm using Mac OSX 10.8, and I tried restarting both eclipse and os.

推荐答案

您已经更新了Android SDK,但没有更新的ADT,以配合它。最新的ADT版本是21.1.0,你需要得到这个。

You have updated the android sdk but not updated the adt to match with it. The latest ADT release is 21.1.0 and you need to get this.

进入月食>帮助>检查更新。

Go to eclipse > help > Check for updates.

这应该列出ADT的最新更新。如果它不工作,试试这个:

It should list the latest update of adt. If it doesn't work, try this :


  • 去日食>帮助>安装新软件

  • go to eclipse > help > Install new software

单击添加

添加此链接:<一个href=\"https://dl-ssl.google.com/android/eclipse/\">https://dl-ssl.google.com/android/eclipse/

它会列出更新服务现有理想情况下应该是ADT 21.1.0(最新)

It will list the updates available- which should ideally be adt 21.1.0 (latest)

安装最新的ADT,一切都应该罚款。

install the latest adt and everything should be fine.

这篇关于Android的找不到SDK错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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