当我加载ADT为什么收到错误“Android SDK需要Android开发工具包版本XX.X.X或更高版本?” [英] When I load ADT why do I receive the error "The Android SDK requires Android Developer Toolkit version XX.X.X or above?"

查看:99
本文介绍了当我加载ADT为什么收到错误“Android SDK需要Android开发工具包版本XX.X.X或更高版本?”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将Android SDK Tools更新为21.1版。不幸的是,当我加载Android开发工具包时,这会导致错误:


Android SDK需要Android Developer Toolkit版本21.1.0或更高版本。



当前版本为21.0.1.2012-12-6-2-58。



请将ADT更新为最新版本。


当我升级SDK时,我被警告说可能需要升级ADT。我试图通过去帮助>检查更新。不幸的是,这会返回一条消息:没有找到更新。



如果我错过了这里的一个屏幕截图,我的Android SDK Manager:





我是否缺少安装包?我需要更新ADT(Eclipse)吗?我应该只下载一个新的ADT副本?

解决方案

由于某种原因,ADT(Eclipse)实际上它需要更新。由于内置的​​更新工具失败,您必须解决这些问题。在帮助菜单上,而不是选择检查更新,而不是选择安装新软件(因此帮助>安装新软件)。



在使用下拉列表中的可用软件屏幕上:
https://dl-ssl.google.com/android/eclipse/ ,如果它还没有可用。您应该看到包括开发工具在内的选项列表。检查您要更新的所有内容。在下面的复选框列表中,选中联系安装过程中的所有更新站点以查找所需的软件。





单击下一步,然后按照剩余的屏幕提示进行操作。您可能会被警告,而不是安装将执行更新。没关系一旦操作完成,您将不再收到Android SDK需要Android Developer Toolkit verxion 21.1.0或更高版本错误,当您加载ADT。


I just updated my Android SDK Tools to version 21.1. Unfortunately this is causing an error when I load the Android Developer Toolkit:

The Android SDK requires Android Developer Toolkit version 21.1.0 or above.

Current version is 21.0.1.2012-12-6-2-58.

Please update ADT to the latest version.

When I upgraded the SDK I was warned that I might need to upgrade ADT. I tried to do so by going to Help > Check for Updates. Unfortunately this returns a message that "No updates were found."

In case I've missed something here's a screenshot of my Android SDK Manager:

Am I missing an install package? Do I need to go about updating ADT (Eclipse) another way? Should I just download a new copy of ADT?

解决方案

For some reason ADT (Eclipse) won't pick up on the fact that it does in fact need to be updated. Since the built in tools for updating are failing you you'll have to work around them. On the Help menu instead of selecting Check for Updates instead pick Install New Software (so Help > Install New Software).

On the Available Software screen in the Work With dropdown provide:
https://dl-ssl.google.com/android/eclipse/ if it's not already available. You should see a list of options including Developer Tools. Check everything that you want to update. In the list of checkboxes below uncheck "Contact all update sites during install to find required software."

Click Next and follow the remaining onscreen prompts. You may be warned that instead of an install an update will be performed. This is okay. Once the operation is complete you will no longer receive the "The Android SDK requires Android Developer Toolkit verxion 21.1.0 or above" error when you load ADT.

这篇关于当我加载ADT为什么收到错误“Android SDK需要Android开发工具包版本XX.X.X或更高版本?”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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