如何在Eclipse中安装Android ADT插件?

发布于 2024-09-27 20:14:09 字数 1507 浏览 5 评论 0原文

我按照 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。

更新: 我按照 在 Eclipse 3.5.1 上安装 Android 开发工具需要 org.eclipse.gef 0.0.0 并安装了 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 插件?

I followed the instructions on ADT Plugin for Eclipse but I got this message when installing in 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

I have tried with both 64bit and 32bit Eclipse Galileo fresh installs. I am using Windows 7.

Update: I followed the steps on org.eclipse.gef 0.0.0 required for installing Android Development Tools on Eclipse 3.5.1 and installed GEF SDK 3.5.2 but now I got a new similar error message when installing 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

How can I install the Android ADT Plugin for Eclipse 3.5.2 on Windows?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

箹锭⒈辈孓 2024-10-04 20:14:09

I finally followed the instructions on During installation, there's an error about requiring org.eclipse.wst.sse.ui. How do I fix that? and installed Google Plugin for Eclipse Galileo, then the installation of Android ADT Plugin worked without any problem, finally.

乖不如嘢 2024-10-04 20:14:09

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

On ubuntu 11 it installs Eclipse 3.7 (indigo). To make it work i had to add http://download.eclipse.org/releases/indigo to the list of sources. After that it worked like a charm.

残花月 2024-10-04 20:14:09

在 Windows 7 上,使用以管理员身份运行 Eclipse。

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

On Windows 7, run Eclipse using As Administrator.

PS: I made it in conjunction with other advices like adding Indigo release URL to available sources and using HTTP instead of HTTPS, and I didn't tested if all three requirements must be met or the first is sufficient.

三寸金莲 2024-10-04 20:14:09

这对我有用

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

This worked for me

  1. Go to Help->Install New Software
  2. Go to "Available software sources"
  3. Check all the boxes
  4. Try the official instructions again. http://developer.android.com/sdk/eclipse-adt.html#installing
念﹏祤嫣 2024-10-04 20:14:09

在 3.7 Indigo 上安装,我发现该插件现在名为:

WST 服务器适配器

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

Installing on 3.7 Indigo, I found the plug-in is now called:

WST Server Adapters

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

不顾 2024-10-04 20:14:09

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

I got the same message in Galileo then I installed Indigo and it worked although I checked only dev tools and plugins the other two I didn't install and had some error with those. But the ADT works now.

高速公鹿 2024-10-04 20:14:09

您应该将计算机的连接设置为无代理,并以管理员身份运行 eclipse

You shoud set your computer's connection to no proxy, and run eclipse as administrator

眼角的笑意。 2024-10-04 20:14:09

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

If anyone is upgrading from eclipse 3.6 and they've copied (overwritten or merged) their directories you will get a conflicting dependency error and ADT won't install.
Make sure you go back , delete eclipse, unzip the new eclipse fresh to the new location and run it!
Worked for me!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文