简体   繁体   English

ADT插件无法安装:缺少要求:Android开发工具

[英]ADT Plugin can't install: Missing requirement: Android Development Tools

I tried to install ADT plugin on eclipse helios windows 64 bits classic. 我尝试在64位经典日食helios Windows上安装ADT插件。 I got this error: 我收到此错误:

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开发工具16.0.1.v201112150204-238534(com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)缺少的要求:Android开发工具16.0.1.v201112150204-238534( com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)需要“ org.eclipse.wst.sse.core 0.0.0”,但找不到

you MUST run eclipse as administrator to install plugins under vista or 7!!! 您必须以管理员身份运行eclipse才能在Vista或7下安装插件!!! right click on the eclipse.exe file (not the shortcut). 右键单击eclipse.exe文件(而不是快捷方式)。 if you still have problems, try the step below. 如果仍有问题,请尝试以下步骤。

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,靛蓝等)

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'. 安装后,您必须进入文件夹c:/ Program Files(x86)/ Android / android-sdk / platforms /并创建一个新的(空)文件夹“ 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 /中创建一个名为temp的文件夹,当再次启动eclipse时,系统将提示您下载SDK(始终以管理员身份)

finally, restart and you should be ok 最后,重新启动,你应该没问题

PS: you must update your eclipse (under HELP) and then exit it. PS:您必须先更新日食(在“帮助”下),然后退出。 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]). 在管理员模式下重新启动并打开您的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个小时,具体取决于您的连接速度),您将没有一个完整的环境,并且某些编译根本无法进行。

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。

If you're using Eclipse Juno (ie 4.xx) 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插件时遇到问题,请参见以下内容对其进行修复:

  1. go to where the eclipse.exe file located (default: C:\\Program Files (x86)\\eclipse) 转到eclipse.exe文件所在的位置(默认值:C:\\ Program Files(x86)\\ eclipse)
  2. NOT left click (run it) but RIGHT click on eclipse.exe 不是左键单击(运行),而是右键单击eclipse.exe
  3. pick run as administrator. 选择以管理员身份运行。

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

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 Manager进行ADT更新。

In my case, my Windows 7 system was lacking the required "Android SDK Platform-tools 16.0.1" plug-in. 就我而言,我的Windows 7系统缺少必需的“ Android SDK平台工具16.0.1”插件。 I suggest re-starting Windows after completing this plug-in installation. 我建议在完成此插件安装后重新启动Windows。 Once I re-started Eclipse (Juno), the error message "Could not find C:\\Program Files\\Android\\android-sdk-windows\\platform-tools\\adb.exe!" 重新启动Eclipse(Juno)之后,错误消息“找不到C:\\ Program Files \\ Android \\ android-sdk-windows \\ platform-tools \\ adb.exe!” was eliminated. 被淘汰了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM