无法将 Android ADT 安装到 Eclipse Helios (Windows)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8602129/
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
Can't install Android ADT to Eclipse Helios (Windows)
提问by quarks
Can't install Android ADT to Eclipe Helios causing errors:
无法将 Android ADT 安装到 Eclipe Helios 导致错误:
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
Software currently installed: Eclipse IDE for Java Developers 1.3.1.20100916-1202 (epp.package.java 1.3.1.20100916-1202)
Only one of the following can be installed at once:
Eclipse UI 3.7.0.I20110602-0100 (org.eclipse.ui 3.7.0.I20110602-0100)
Eclipse UI 3.5.2.M20100120-0800 (org.eclipse.ui 3.5.2.M20100120-0800)
Eclipse UI 3.6.1.M20100826-1330 (org.eclipse.ui 3.6.1.M20100826-1330)
Eclipse UI 3.5.1.M20090902-1000 (org.eclipse.ui 3.5.1.M20090902-1000)
Eclipse UI 3.6.2.M20110203-1100 (org.eclipse.ui 3.6.2.M20110203-1100)
Eclipse UI 3.6.0.I20100603-1100 (org.eclipse.ui 3.6.0.I20100603-1100)
Cannot satisfy dependency:
From: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
To: org.eclipse.ui 3.6.2
Cannot satisfy dependency:
From: Eclipse IDE for Java Developers 1.3.1.20100916-1202 (epp.package.java 1.3.1.20100916-1202)
To: org.eclipse.epp.package.java.feature.feature.group [1.3.1.20100916-1202]
Cannot satisfy dependency:
From: EPP Java Package 1.3.1.20100916-1202 (org.eclipse.epp.package.java.feature.feature.group 1.3.1.20100916-1202)
To: org.eclipse.platform.feature.group [3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L]
Cannot satisfy dependency:
From: Eclipse Platform 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L (org.eclipse.platform.feature.group 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L)
To: org.eclipse.rcp.feature.group [3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T]
Cannot satisfy dependency:
From: Eclipse RCP 3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T (org.eclipse.rcp.feature.group 3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T)
To: org.eclipse.ui [3.6.1.M20100826-1330]
Any ideas how to get around this?
任何想法如何解决这个问题?
采纳答案by quarks
I really can't do fresh install as my Eclipse is fully loaded with other features that I use in my projects. And migrating features from existing Eclipse install to new install is painful in my experience (not considering if it will work).
我真的无法进行全新安装,因为我的 Eclipse 已满载我在项目中使用的其他功能。根据我的经验,将功能从现有的 Eclipse 安装迁移到新安装是痛苦的(不考虑它是否可行)。
So I just unpacked the ADT zip file into the Eclipse install then it worked.
所以我只是将 ADT zip 文件解压到 Eclipse 安装中,然后它就可以工作了。
回答by Lam Do
Download ADT Plugin, unzip and copy all folders (features, plugins, web ...) into your Eclipse installation folder.
下载ADT Plugin,解压并将所有文件夹(功能、插件、web ...)复制到您的 Eclipse 安装文件夹中。
回答by Lam Do
if You used window 7 than try Run as Administrator
如果您使用的是窗口 7,请尝试以管理员身份运行
回答by Graham Borland
The only solution I found was to reinstall Eclipse from scratch. This is actually fairly easy, since all you have to do is unzip the package.
我找到的唯一解决方案是从头开始重新安装 Eclipse。这实际上相当简单,因为您所要做的就是解压缩包。
So, I took the opportunity to upgrade to Eclipse Indigo at the same time.
于是,我趁机同时升级到了Eclipse Indigo。
回答by zooes
I had the same issue and I tried copying all the files from ADT PLUGIN , re-installed eclipse but none of them seemed to help. Only updating eclipse (Help > Check for Updates) solved the issue.
我遇到了同样的问题,我尝试从ADT PLUGIN复制所有文件,重新安装 eclipse 但它们似乎都没有帮助。只有更新 eclipse(帮助 > 检查更新)才能解决这个问题。
BNW, STACK OVERFLOW has the same discussion.
BNW, STACK OVERFLOW也有同样的讨论。
回答by Chiya
Just unzip the ADT and copy the contents to appropriate folders in eclipse installation. Restart Eclipse. The issue will be solved.
只需解压缩 ADT 并将内容复制到 eclipse 安装中的适当文件夹。重新启动 Eclipse。问题将得到解决。
回答by cdonner
If you have come to this old thread while trying to upgrade your Eclipse Helios SDK to Lollipop, note the dependencies:
如果您在尝试将 Eclipse Helios SDK 升级到 Lollipop 时遇到了这个旧线程,请注意依赖项:
ADT 23.0.4 (October 2014)
ADT 23.0.4(2014 年 10 月)
Your existing Eclipse installation must meet these requirements:
您现有的 Eclipse 安装必须满足以下要求:
- Eclipse 3.7.2 (Indigo) or greater
- Note: Eclipse 3.6 (Helios) is no longer supportedwith the latest version of ADT.
- Eclipse JDT plugin (included in most Eclipse IDE packages)
- JDK 6 (JRE alone is not sufficient)
- Not compatible with GNU Compiler for Java (gcj)
- Eclipse 3.7.2 (Indigo) 或更高版本
- 注意:最新版本的 ADT不再支持 Eclipse 3.6 (Helios)。
- Eclipse JDT 插件(包含在大多数 Eclipse IDE 包中)
- JDK 6(仅 JRE 是不够的)
- 与 GNU Compiler for Java (gcj) 不兼容
I upgraded to Eclipse Luna and these errors did not reappear.
我升级到 Eclipse Luna 并且这些错误没有再次出现。
回答by cdonner
Error messages can be surprisingly useful. The error message says you have a conflicting dependency. If it were my box I'd probably uninstall all instances of Eclipse, then install the one you want and see if that works.
错误消息非常有用。错误消息说您有一个冲突的依赖项。如果它是我的盒子,我可能会卸载 Eclipse 的所有实例,然后安装您想要的实例,看看它是否有效。