【问题标题】:Eclipse dependency error while installing ADT安装 ADT 时出现 Eclipse 依赖错误
【发布时间】:2013-03-14 12:06:00
【问题描述】:

我正在尝试在我的 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

【问题讨论】:

  • 使用最新的eclipse juno
  • 感谢@Deepzz 的帮助

标签: android eclipse eclipse-plugin


【解决方案1】:

ADT 插件页面states

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

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

【讨论】:

  • 感谢 @JustDanyul 的帮助由于某种原因,我的 eclipse 没有从 3.5 更新到 3.6 。所以我下载了 Juno Service Release 2,它对我来说很好用 eclipse.org/mobile
【解决方案2】:

不再为 eclipse 3.x 烦恼

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

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

【讨论】:

    【解决方案3】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-11-18
      • 1970-01-01
      • 2020-08-27
      • 1970-01-01
      • 2020-06-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多