Eclipse Helios Service Release 2上的ADT更新到22.6.2失败

时间:2014-04-23 11:23:22

标签: android eclipse eclipse-plugin eclipse-adt

转到Help -> Install New Software -> already installed?

点击Android Development Tools -> Update

更新失败,出现以下错误跟踪----

Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.feature.group 22.6.2.v201403212031-1085508)
Software currently installed: Eclipse IDE for Java EE Developers 1.3.2.20110301-1807 (epp.package.jee 1.3.2.20110301-1807)
Only one of the following can be installed at once: 
Eclipse Preferences Mechanism 3.4.2.v20120111-2020 (org.eclipse.equinox.preferences 3.4.2.v20120111-2020)
Eclipse Preferences Mechanism 3.3.0.v20100503 (org.eclipse.equinox.preferences 3.3.0.v20100503)
Eclipse Preferences Mechanism 3.4.1.R37x_v20110725 (org.eclipse.equinox.preferences 3.4.1.R37x_v20110725)
Eclipse Preferences Mechanism 3.4.0.v20110502 (org.eclipse.equinox.preferences 3.4.0.v20110502)
Cannot satisfy dependency:
From: Android Development Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.feature.group 22.6.2.v201403212031-1085508)
To: org.eclipse.core.runtime 3.7.0
Cannot satisfy dependency:
From: Eclipse IDE for Java EE Developers 1.3.2.20110301-1807 (epp.package.jee 1.3.2.20110301-1807)
To: org.eclipse.epp.package.jee.feature.feature.group [1.3.2.20110301-1807]
Cannot satisfy dependency:
From: Core Runtime 3.7.0.v20110110 (org.eclipse.core.runtime 3.7.0.v20110110)
To: bundle org.eclipse.equinox.preferences [3.4.0,4.0.0)
Cannot satisfy dependency:
From: Java EE IDE Feature 1.3.2.20110301-1807 (org.eclipse.epp.package.jee.feature.feature.group 1.3.2.20110301-1807)
To: org.eclipse.platform.feature.group [3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi]
Cannot satisfy dependency:
From: Eclipse Platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi (org.eclipse.platform.feature.group 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi)
To: org.eclipse.rcp.feature.group [3.6.2.r362_v20101104-9SAxFMKFkSAqi8axkv1ZjegmiBLY]
Cannot satisfy dependency:
From: Eclipse RCP 3.6.2.r362_v20101104-9SAxFMKFkSAqi8axkv1ZjegmiBLY (org.eclipse.rcp.feature.group 3.6.2.r362_v20101104-9SAxFMKFkSAqi8axkv1ZjegmiBLY)
To: org.eclipse.equinox.preferences [3.3.0.v20100503]

进一步查看上面的错误跟踪,认为它首先依赖Eclipse IDE for Java EE Developers,所以如果我尝试使用相同的过程更新Eclipse IDE for Java EE Developers,则需要更长的时间来处理更新然后失败,出现以下错误跟踪----

An internal error occurred during: "Install download2".
Comparison method violates its general contract!

我现在花了好几个小时来完成我的ADT更新,但没有办法。

1 个答案:

答案 0 :(得分:1)

Helios Service Release 2最新的ADT版本不兼容。

我首先使用以下网址下载旧版本的ADT -

http://dl.google.com/android/ADT-22.3.0.zip

然后选择我在上面下载的“安装新软件”,“添加网站”,“存档”。

工作得很好。