安装ADT时出现Eclipse依赖性错误

时间:2013-03-14 12:06:00

标签: android eclipse eclipse-plugin

我正在尝试在我的ubuntu 10.04上的Eclipse Galileo 3.5.2中安装ADT插件。但我得到了依赖性错误。请帮我修复错误。

这是我得到的错误细节。

Cannot complete the install because of a conflicting dependency.
  Software being installed: Android Development Tools 21.1.0.v201302060044-569685 (com.android.ide.eclipse.adt.feature.group 21.1.0.v201302060044-569685)
  Software currently installed: Eclipse Platform 3.5.2 (Eclipse Platform 3.5.2)
  Only one of the following can be installed at once: 
    Core Runtime 3.7.0.v20110110 (org.eclipse.core.runtime 3.7.0.v20110110)
    Core Runtime 3.5.0.v20090525 (org.eclipse.core.runtime 3.5.0.v20090525)
  Cannot satisfy dependency:
    From: Eclipse Platform 3.5.2 (Eclipse Platform 3.5.2)
    To: org.eclipse.core.runtime [3.5.0.v20090525]
  Cannot satisfy dependency:
    From: Android Development Tools 21.1.0.v201302060044-569685 (com.android.ide.eclipse.adt.feature.group 21.1.0.v201302060044-569685)
    To: org.eclipse.core.runtime 3.6.0

3 个答案:

答案 0 :(得分:2)

ADT插件页面states

Eclipse Helios (Version 3.6.2) or higher is required for ADT 21.1.0.

您发布的输出显示您正在使用ADT 21.1.0,因此,似乎可能是时候更新eclipse:)

答案 1 :(得分:1)

不要再用eclipse 3.x打扰了

下载最新的Eclipse(Juno - 4.2):http://www.eclipse.org/downloads/

OR事件更好如果你只做android开发,下载android开发包,里面有预装了ADT的内置eclipse版本:http://developer.android.com/sdk/index.html

答案 2 :(得分:0)

您还可以在http://www.java2s.com/Code/Jar/o/Downloadorgeclipsecoreruntime370v20110110jar.htm下载org.eclipse.core.runtime-3.7.0.v20110110.jar

相关问题