简体   繁体   English

Android开发工具(ADT)插件拒绝在Eclipse上安装

[英]Android Development Tools (ADT) Plugin refuses to install on Eclipse

I've seen many similar posts to what I'm asking, but none seem to actually answer the question relevant to Windows. 我已经看到了许多与我要问的类似的帖子,但是似乎没有一个帖子能够真正回答与Windows有关的问题。

My problem is that the ADT Plugin wont install in Eclipse. 我的问题是ADT插件无法在Eclipse中安装。 I am on the newest version of Eclipse so that shouldn't be a problem. 我使用的是最新版本的Eclipse,所以这应该不是问题。 The Android SDK and Manager also installed just fine. Android SDK和Manager也安装得很好。 I am on Windows 7 x64 with x64 Eclipse. 我在Windows 7 x64和x64 Eclipse上。 The other 3 parts of the Developer Tools including Android DDMS, Hierarchy Viewer, and Traceview install just fine. 开发人员工具的其他3个部分(包括Android DDMS,Hierarchy Viewer和Traceview)可以很好地安装。 The error code is as follows: 错误代码如下:

Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 18.0.0.v201203301601-306762 (com.android.ide.eclipse.adt.feature.group 18.0.0.v201203301601-306762)

Any help would be appreciated. 任何帮助,将不胜感激。

Thanks 谢谢

You need to go to "Install New Software" and select "Available Software Sites". 您需要转到“安装新软件”,然后选择“可用软件站点”。

There add: http://download.eclipse.org/releases/indigo and http://download.eclipse.org/eclipse/updates/3.7 . 其中添加: http : //download.eclipse.org/releases/indigohttp://download.eclipse.org/eclipse/updates/3.7

After that when you try to install ADT Plugin it should work. 之后,当您尝试安装ADT插件时,它应该可以工作。

This worked for me for Eclipse 3.8 (Indigo) on Ubuntu 12.10. 这对我在Ubuntu 12.10上的Eclipse 3.8(Indigo)有用。

I went through The seven circles of hell untill i solved this. 我经历了七个地狱,直到我解决了这个问题。 What worked for me is that i installed an Older version of Eclipse, Helios. 对我有用的是,我安装了Eclipse的版本Helios。

Some methods you can try if you prefer using your existing version: 如果您更喜欢使用现有版本,可以尝试以下方法:

  • Run Eclipse as Administrator 以管理员身份运行Eclipse
  • Follow the Troubleshooting in the official site 按照官方网站上的故障排除
  • In the "Available Software Sites" in preferances of Eclipse make sure the Galileo is checked and all other relavent sites 在Eclipse的“ Available Software Sites”中,请确保选中了Galileo以及所有其他相关站点
  • Make sure you are running on Eclipse IDE for Java EE Developers and not Classic (Not sure about this one, but read it somewhere) 确保您正在针对Java EE开发人员的Eclipse IDE上运行,而不是在Classic上运行(不确定这一点,但是请在某处阅读)

You can boil down eric.itzhak answer to his last, single, silver bullet answer: 您可以将eric.itzhak答案归结为他最后一个唯一的子弹答案:

  • "Make sure you are running on Eclipse IDE for Java EE Developers and not Classic" “确保您正在针对Java EE开发人员的Eclipse IDE上运行,而不是Classic”

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

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