如何在Eclipse中安装Android ADT插件?
我按照 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
我最终按照的说明进行安装,在安装过程中,出现了有关需要 org.eclipse 的错误。 wst.sse.ui。如何解决这个问题?并安装了 Google Plugin for Eclipse Galileo,然后Android ADT Plugin的安装终于没有任何问题了。
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.
在 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.
在 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.
这对我有用
This worked for me
在 3.7 Indigo 上安装,我发现该插件现在名为:
Installing on 3.7 Indigo, I found the plug-in is now called:
我在 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.
您应该将计算机的连接设置为无代理,并以管理员身份运行 eclipse
You shoud set your computer's connection to no proxy, and run eclipse as administrator
如果有人从 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!