eclipse ADT 插件无法安装:缺少要求:Android 开发工具
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9143853/
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
ADT Plugin can't install: Missing requirement: Android Development Tools
提问by user310291
I tried to install ADT plugin on eclipse helios windows 64 bits classic. I got this error:
我尝试在 eclipse helios windows 64 bits classic 上安装 ADT 插件。我收到此错误:
Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534) Missing requirement: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
无法完成安装,因为找不到一个或多个必需的项目。正在安装的软件:Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534) 缺少要求:Android Development Tools 16.0.111214201825301825301 com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534) 需要 'org.eclipse.wst.sse.core 0.0.0' 但找不到
回答by tony gil
you MUST run eclipse as administrator to install plugins under vista or 7!!! right click on the eclipse.exe file (not the shortcut). if you still have problems, try the step below.
您必须以管理员身份运行 eclipse 才能在 vista 或 7 下安装插件!!!右键单击 eclipse.exe 文件(不是快捷方式)。如果仍有问题,请尝试以下步骤。
one reason this can happen is that you first need to include the release compatible with your version of eclipse:
发生这种情况的一个原因是您首先需要包含与您的 eclipse 版本兼容的版本:
http://download.eclipse.org/releases/juno(or helios, ganimede, indigo, etc)
http://download.eclipse.org/releases/juno(或 helios、ganimede、indigo 等)
in case you are missing the android sdk, download from http://developer.android.com/sdk/index.html
如果您缺少 android sdk,请从http://developer.android.com/sdk/index.html下载
after installing it, you must go inside the folder c:/Program Files (x86)/Android/android-sdk/platforms/ and create a new (empty) folder 'android-7'. then create a folder named temp in c:/Program Files (x86)/Android/android-sdk/ and you will be prompted to download SDK when you start eclipse again (always as administrator)
安装后,您必须进入文件夹 c:/Program Files (x86)/Android/android-sdk/platforms/ 并创建一个新的(空)文件夹“android-7”。然后在c:/Program Files (x86)/Android/android-sdk/中创建一个名为temp的文件夹,再次启动eclipse时会提示下载SDK(始终以管理员身份)
finally, restart and you should be ok
最后,重新启动,你应该没问题
PS: you must update your eclipse (under HELP) and then exit it. restart in admin mode and open your Android SDK packages (not HELP, the tab on its left [not at my workstation right now, will reedit later]).
PS:您必须更新您的日食(在帮助下)然后退出。在管理员模式下重新启动并打开您的 Android SDK 包(不是帮助,它左侧的选项卡 [现在不在我的工作站上,稍后将重新编辑])。
without installing basically everything there (some 3 to 12 hours, depending on your connection speed), you will not have a complete environment and some compilation simply will not work.
如果没有在那里安装基本上所有的东西(大约 3 到 12 个小时,取决于您的连接速度),您将没有完整的环境,并且某些编译根本无法工作。
回答by Rahul garg
The eclipse version is old, you need to provide the org.eclipse.wst.sse.core 0.0.0
library to it.
eclipse版本老了,需要提供org.eclipse.wst.sse.core 0.0.0
库给它。
See instructions here : http://code.google.com/intl/es/eclipse/docs/faq.html#wstinstallerror
请参阅此处的说明:http: //code.google.com/intl/es/eclipse/docs/faq.html#wstinstallerror
or , i would recommed to upgrade to Eclipse Indigo, which won't have this problem..
或者,我会建议升级到 Eclipse Indigo,它不会有这个问题..
回答by Josef Young
If you're using Eclipse Juno (i.e. 4.x.x) on Win 7, and encountering problems installing Android ADT Plugin for eclipse, see the following to fix it:
如果您在 Win 7 上使用 Eclipse Juno(即 4.xx),并且在为 Eclipse 安装 Android ADT 插件时遇到问题,请参阅以下内容进行修复:
- go to where the eclipse.exe file located (default: C:\Program Files (x86)\eclipse)
- NOT left click (run it) but RIGHT click on eclipse.exe
- pick run as administrator.
- 转到 eclipse.exe 文件所在的位置(默认:C:\Program Files (x86)\eclipse)
- 不是左键单击(运行它)而是右键单击 eclipse.exe
- 选择以管理员身份运行。
Then it runs. Next, just follow the relevant Android guide on the matter (http://developer.android.com/sdk/installing/installing-adt.html).
然后它运行。接下来,只需按照有关此事的相关Android指南(http://developer.android.com/sdk/installing/installing-adt.html)即可。
回答by Brian_Queen
Right-clicking on the eclipse.exe file and selecting "Run as administrator" will give you file access privileges that will permit ADT updates via the Eclipse/Android SDK Manager in the Eclipse "Window" drop-down.
右键单击 eclipse.exe 文件并选择“以管理员身份运行”将授予您文件访问权限,该权限将允许通过 Eclipse“窗口”下拉菜单中的 Eclipse/Android SDK 管理器进行 ADT 更新。
In my case, my Windows 7 system was lacking the required "Android SDK Platform-tools 16.0.1" plug-in. I suggest re-starting Windows after completing this plug-in installation. Once I re-started Eclipse (Juno), the error message "Could not find C:\Program Files\Android\android-sdk-windows\platform-tools\adb.exe!" was eliminated.
就我而言,我的 Windows 7 系统缺少所需的“Android SDK Platform-tools 16.0.1”插件。我建议在完成此插件安装后重新启动 Windows。一旦我重新启动 Eclipse (Juno),错误消息“找不到 C:\Program Files\Android\android-sdk-windows\platform-tools\adb.exe!” 被淘汰了。