当我加载 ADT 时,为什么会收到错误“Android SDK 需要 Android Developer Toolkit 版本 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?"

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

问题描述

我刚刚将我的 Android SDK 工具更新到了 21.1 版.不幸的是,当我加载 Android Developer Toolkit 时,这会导致错误:

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

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

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

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

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

请将 ADT 更新到最新版本.

Please update ADT to the latest version.

当我升级 SDK 时,有人警告我可能需要升级 ADT.我尝试通过转到帮助">检查更新"来执行此操作.不幸的是,这会返回一条消息未找到更新."

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."

如果我遗漏了什么,这里是我的 Android SDK 管理器的屏幕截图:

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

我是否缺少安装包?我是否需要以另一种方式更新 ADT (Eclipse)?我应该下载 ADT 的新副本吗?

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?

推荐答案

出于某种原因,ADT (Eclipse) 不会意识到它确实需要更新这一事实.由于用于更新的内置工具失败,您将不得不解决它们.在帮助"菜单上,而不是选择检查更新",而是选择安装新软件"(即帮助">安装新软件").

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).

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

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."

单击下一步并按照剩余的屏幕提示进行操作.您可能会被警告说,将执行更新而不是安装.这没关系.操作完成后,您将不再在加载 ADT 时收到The Android SDK requires Android Developer Toolkit verxion 21.1.0 or above"错误消息.

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 Developer Toolkit 版本 XX.X.X 或更高版本?"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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