Eclipse 说“更新 Android 开发者工具包”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11505441/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Eclipse is saying "Update Android Developer Toolkit"
提问by Heidi
I've somehow managed to mess up my Eclipse and Android set-up and I'm not sure how to fix it. The symptoms of the problem are as follows:
我以某种方式设法弄乱了我的 Eclipse 和 Android 设置,但我不知道如何修复它。问题的症状如下:
In Preferences > Android, I try to select the location of android-sdk-linux, when select the error appears "This Android SDK requires Android Developer Toolkit version 20.0.0 or above. Current version is 18.0.0.v201203301601-306762. Please update ADT to the latest version."
In Preferences > Android, I try to select the location of android-sdk-linux, when select the error appears "This Android SDK requires Android Developer Toolkit version 20.0.0 or above. Current version is 18.0.0.v201203301601-306762. Please将 ADT 更新到最新版本。”
Going to Help > Check for Updates in Eclipse, returns no updates found
转到帮助 > 检查 Eclipse 中的更新,返回未找到更新
Going to Help > Install new software and selecting work with ADT Plugin - https://dl-ssl.google.com/android/eclipse/. Selecting Developer Tools and next, returns
转到帮助 > 安装新软件并选择使用 ADT 插件 - https://dl-ssl.google.com/android/eclipse/。选择开发者工具,然后返回
Cannot complete the request. See the error log for details. "Android DDMS" will be ignored because it is already installed. "Android Development Tools" will be ignored because it is already installed. "Android Hierarchy Viewer" will be ignored because it is already installed. "Android Traceview" will be ignored because it is already installed. "Tracer for OpenGL ES" will be ignored because it is already installed.
无法完成请求。有关详细信息,请参阅错误日志。“Android DDMS”将被忽略,因为它已经安装。“Android 开发工具”将被忽略,因为它已经安装。“Android Hierarchy Viewer”将被忽略,因为它已经安装。“Android Traceview”将被忽略,因为它已经安装。“Tracer for OpenGL ES”将被忽略,因为它已经安装。
If I then take a look at what is already install, Android Development Tools is listed and the version is 20.0.0.v201206242043-391819
如果我再看看已经安装了什么,Android开发工具被列出,版本是20.0.0.v201206242043-391819
Now for the interesting part:
现在是有趣的部分:
If I go to Help > About > Installation Details > Features is lists Android Development Toolkit as Version: 20.0.0.v201206242043-391819 but if I then go into Plug-ins it lists Android Development Toolkit as Version: 18.0.0...
如果我转到帮助 > 关于 > 安装详细信息 > 功能将 Android 开发工具包列为版本:20.0.0.v201206242043-391819 但如果我进入插件,它会将 Android 开发工具包列为版本:18.0.0...
Sorry for yet another question on updating the ADT as there already seem to be quite a lot of questions on the topic but I've tried the typically solutions and they does seem to be getting me very far
很抱歉关于更新 ADT 的另一个问题,因为似乎已经有很多关于该主题的问题,但我已经尝试了典型的解决方案,它们似乎确实让我走得很远
Some extra info, that people often ask for OS: Ubuntu 12.04 LTS Eclipse Platform: Version 3.7.2
一些额外的信息,人们经常要求操作系统:Ubuntu 12.04 LTS Eclipse 平台:版本 3.7.2
回答by GingerHead
In your installed folder of eclipse
there is a folder named plugins
.
Do the following:
在您安装的文件夹中eclipse
有一个名为plugins
.
请执行下列操作:
- Find the plugin file/folder of
Andriod
SDK
and move it to some other folder for backup. - Download from
Android
site the latest version ofAndroid
SDK
- Copy/paste it in your
plugins
folder - Restart
eclipse
- 找到插件文件/文件夹
Andriod
SDK
并将其移动到其他文件夹进行备份。 - 从
Android
站点下载最新版本的Android
SDK
- 将其复制/粘贴到您的
plugins
文件夹中 - 重新开始
eclipse
And everything should be fine.
一切都应该没问题。
回答by barisemreefe
回答by Heidi
In the end, I just couldn't fix it so I complete uninstalled it and set it back up again from scratch, thanks for your help
最后,我就是无法修复它,所以我完成了卸载它并从头开始重新设置它,感谢您的帮助
回答by Chester Millisock
Run software updates in Eclipse (Help > Check for Updates) and update the ADT.
在 Eclipse 中运行软件更新(帮助 > 检查更新)并更新 ADT。
回答by Walter H.
I know I'm late to the game on this one, but I figured I would contribute since I ran into the same problem myself. In order to check for installed plugins in Eclipse, do the following.
我知道我在这个问题上迟到了,但我想我会做出贡献,因为我自己也遇到了同样的问题。为了在 Eclipse 中检查已安装的插件,请执行以下操作。
From the Eclipse Preferences Menu.. -Select "Install/Update" -From the General Menu, There should be a link button that says "Uninstall or Update"
从 Eclipse 首选项菜单.. - 选择“安装/更新” - 从常规菜单,应该有一个链接按钮,上面写着“卸载或更新”
This should take you to a prompt that will allow you to uninstall anything you've added onto your Eclipse setup!
这应该会带您到一个提示,允许您卸载已添加到 Eclipse 设置中的任何内容!
回答by user2971584
Go to the below site https://developer.android.com/sdk/installing/installing-adt.htmland download ADT-22.3.0.zip from the site. then follow the procedures mentioned there..
转到以下站点 https://developer.android.com/sdk/installing/installing-adt.html并从该站点下载 ADT-22.3.0.zip。然后按照那里提到的程序..
回答by Asaf Pinhassi
uncheck "Contact all update sites during install to find required software"
取消选中“在安装过程中联系所有更新站点以查找所需软件”
see: Can not install Android ADT 21.1 on eclipse Juno (Windows 7) after upadate to SDK 21.1
请参阅:更新到 SDK 21.1 后,无法在 eclipse Juno (Windows 7) 上安装 Android ADT 21.1
回答by Ziad Akiki
After updating the Android SDK Tools to the latest version from the SDK manager, do the following:
从 SDK 管理器将 Android SDK 工具更新到最新版本后,请执行以下操作:
- Go to Eclipse->Help->Install new software
- Type https://dl-ssl.google.com/android/eclipse/in the "Work with" Text box
- From the list, select all and then click next
- Now Eclipse will prompt you that in order to install these new software, Eclipse will uninstall the old version (in this case Android Developer Tools), click on next, read and accept the license and wait for it to download
- Restart Eclipse and everything should be working fine.
- 转到Eclipse->帮助->安装新软件
- 在“使用”文本框中键入https://dl-ssl.google.com/android/eclipse/
- 从列表中,全选,然后单击下一步
- 现在Eclipse会提示你为了安装这些新软件,Eclipse会卸载旧版本(这里是Android Developer Tools),点击下一步,阅读并接受许可,等待下载
- 重新启动 Eclipse,一切都应该正常工作。