【问题标题】:How to install the Android ADT Plugin in Eclipse?如何在 Eclipse 中安装 Android ADT 插件?
【发布时间】:2011-04-25 13:23:03
【问题描述】:

我按照ADT Plugin for Eclipse 上的说明进行操作,但在 Eclipse 中安装时收到此消息:

Cannot complete the install because one or more required items could not be found
  Software being installed: Android Development Tools 0.9.9.v201009221407-60953 
      (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953)
  Missing requirement: Android Development Tools 0.9.9.v201009221407-60953
      (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953)
      requires 'org.eclipse.gef 0.0.0' but it could not be found

我已经尝试过 64 位和 32 位 Eclipse Galileo 全新安装。我使用的是 Windows 7。

更新:我按照org.eclipse.gef 0.0.0 required for installing Android Development Tools on Eclipse 3.5.1 上的步骤安装了 GEF SDK 3.5.2,但现在我在安装 ADT 时收到了新的类似错误消息:

Cannot complete the install because one or more required items could not be found
  Software being installed: Android Development Tools 0.9.9.v201009221407-60953 
      (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953)
  Missing requirement: Android Development Tools 0.9.9.v201009221407-60953
      (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953)
      requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found

如何在 Windows 上安装适用于 Eclipse 3.5.2 的 Android ADT 插件?

【问题讨论】:

  • 你在哪个平台上? Windows/Linux/Mac?你试过日食经典吗? (eclipse.org/downloads/packages/eclipse-classic-361/heliossr1) 我想我在设置开发环境时遇到了类似的错误,但使用 Eclipse Classic 修复了它。
  • 是的,它是我测试过的 Windows 7 上 32 位和 64 位的 Eclipse Classic。它们是全新安装。

标签: android eclipse eclipse-adt eclipse-3.5


【解决方案1】:

我终于按照During installation, there's an error about requiring org.eclipse.wst.sse.ui. How do I fix that?上的说明安装了Google Plugin for Eclipse Galileo,然后Android ADT Plugin的安装终于没有问题了。

【讨论】:

  • 在 Fedora 上检查 stackoverflow.com/a/2526167/669527(指向同一个位置,但强调 org.eclipse.wst.xml.ui 的问题)
  • 答案不应包含已失效的链接。
  • 目前两个链接都是404。
【解决方案2】:

在 ubuntu 11 上它安装 Eclipse 3.7 (indigo)。为了使它工作,我必须将http://download.eclipse.org/releases/indigo 添加到源列表中。之后,它就像一个魅力。

【讨论】:

【解决方案3】:

在 Windows 7 上,使用 As Administrator 运行 Eclipse。

PS:我结合了其他建议,例如将 Indigo 发布 URL 添加到可用源并使用 HTTP 而不是 HTTPS,我没有测试是否必须满足所有三个要求或第一个就足够了。

【讨论】:

    【解决方案4】:

    这对我有用

    1. 转到帮助->安装新软件
    2. 转到“可用软件源”
    3. 选中所有复选框
    4. 再次尝试官方说明。 http://developer.android.com/sdk/eclipse-adt.html#installing

    【讨论】:

      【解决方案5】:

      在 3.7 Indigo 上安装,发现插件现在叫:

      WST 服务器适配器

      org.eclipse.wst.server_adapters.feature.feature.group

      【讨论】:

        【解决方案6】:

        我在 Galileo 中收到了相同的消息,然后我安装了 Indigo,尽管我只检查了开发工具和插件,但我只检查了其他两个我没有安装的工具和插件,并且这些工具有一些错误。但是 ADT 现在可以工作了。

        【讨论】:

          【解决方案7】:

          你应该将你的电脑连接设置为无代理,并以管理员身份运行 eclipse

          【讨论】:

            【解决方案8】:

            如果有人从 eclipse 3.6 升级并且他们已经复制(覆盖或合并)了他们的目录,您将收到冲突依赖错误并且 ADT 将无法安装。 确保您返回,删除 eclipse,将新的 eclipse 解压缩到新位置并运行它! 为我工作!

            【讨论】:

              猜你喜欢
              • 1970-01-01
              • 2012-07-11
              • 1970-01-01
              • 2011-09-22
              • 2011-11-16
              • 1970-01-01
              • 2023-04-09
              • 2012-04-03
              • 2011-02-07
              相关资源
              最近更新 更多