无法完成 Eclipse 的 Google 插件安装
我正在尝试在 Eclipse 中安装 Google 插件,但出现以下错误:
无法完成安装,因为找不到一个或多个必需的项目。
正在安装的软件:Google Plugin for Eclipse 3.6 1.4.2.v201012211742
(com.google.gdt.eclipse.suite.e36.feature.feature.group 1.4.2.v201012211742)
缺少要求:Google Eclipse 3.6 Platform Plugin 1.4.2.v201012211742 (com.google.gdt.eclipse.platform.e36 1.4.2.v201012211742) 需要“bundle org.eclipse.equinox.p2.operations 0.0.0”,但它可以找不到
无法满足依赖性: 来自:Google Plugin for Eclipse 3.6 1.4.2.v201012211742 (com.google.gdt.eclipse.suite.e36.feature.feature.group 1.4.2.v201012211742)
至:com.google.gdt.eclipse.platform.e36 [1.4.2.v201012211742]
请帮忙
I am trying to install the Google Plugin in eclipse but I get the follwoing error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Google Plugin for Eclipse 3.6 1.4.2.v201012211742
(com.google.gdt.eclipse.suite.e36.feature.feature.group 1.4.2.v201012211742)
Missing requirement: Google Eclipse 3.6 Platform Plugin 1.4.2.v201012211742 (com.google.gdt.eclipse.platform.e36 1.4.2.v201012211742) requires 'bundle org.eclipse.equinox.p2.operations 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Google Plugin for Eclipse 3.6 1.4.2.v201012211742 (com.google.gdt.eclipse.suite.e36.feature.feature.group 1.4.2.v201012211742)
To: com.google.gdt.eclipse.platform.e36 [1.4.2.v201012211742]
Please help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
App Engine 文档很旧,这就是问题所在。该 API 有较新版本:
尝试适合您的 IDE 的一个。
The App Engine documentation is old, that is the problem. There are newer releases of the API:
Try the one that suits your IDE.
我遇到了同样的问题,终于找到了解决方案。希望它也适合你。
请按照以下步骤操作,然后尝试再次安装该插件。
选择帮助>安装新软件...
在“使用”下拉列表中选择 Helios 更新站点。如果不存在,您可以直接输入 URL: http://download.eclipse.org/releases/helios
安装 Helios > Web、XML 和 Java EE 开发 > Eclipse Web 开发人员工具。
I had the same problem and finally found the solution. Hope it works for you too.
Follow these steps and then try to install the plugin again.
Select Help > Install New Software...
Select the Helios update site in the Work with dropdown. If it's not there, you can enter the URL directly: http://download.eclipse.org/releases/helios
Install Helios > Web, XML, and Java EE Development > Eclipse Web Developer Tools.
转到“关于/安装新软件...”并输入以下 URL:http://download.eclipse.org/mylyn/releases /latest
列表填充后,选择 MyLyn SDKs and Frameworks / MyLyn Commons。安装该插件后,重新启动 Eclipse,然后就会安装 Google App Engine 插件。
Go to About / Install New Software... and enter this URL: http://download.eclipse.org/mylyn/releases/latest
After the list populates, select MyLyn SDKs and Frameworks / MyLyn Commons. Once that plug-in installs, restart Eclipse and then the Google App Engine plug-in should install.
当您位于“可用软件”屏幕上时,选择要安装的软件后,在单击“下一步”之前,如果选中“在安装过程中联系所有更新站点以查找所需软件”框。然后eclipse会自动为你解析并安装所需的插件。
When you are on the Available Software screen, after having selected the software you want to install, before you click next, if you check the box "Contact all update sites during install to find required software." then eclipse will automatically resolve and install the needed plugins for you.
我遇到了同样的错误,查看消息表明这是由于不同 Eclipse 运行时(3.6 和 3.5)的 Java EE IDE 和 Google 插件之间的冲突造成的。
因此,我将 Java EE IDE 升级到可用的最新版本,这解决了问题。
I got the same error and looking at the messages indicated that it was due to a conflict between Java EE IDE and Google plugin fo different eclipse runtimes ( 3.6 and 3.5).
So I upgraded the Java EE IDE to the latest version available and that solved the problem.
我发现版本为eclipse 4.2的ADT-Bundle存在安装google插件的问题当我分别下载 eclipse 和 Android SDK 并将它们连接在一起时。它解决了问题。谷歌插件安装当时工作得非常好
I found out that ADT-Bundle whose version is eclipse 4.2 has this issue of installing google plugin and when I downloaded eclipse and Android SDK separately and connected them together. It solved the problem. Google plugin installation worked super fine then
检查您正在使用的 Eclipse 的“类型”。我使用的是 Luna 4.4.2 的主要版本并遇到了这个问题。然后我切换到“Java EE”类型的 Eclipse,并毫无问题地安装了 Google 插件和 AppEngine。我相信这是因为“Java EE”类型附带了 WTP。
Check to see the "type" of Eclipse you are using. I was using the main version of Luna 4.4.2 and having this problem. I then switched to the "Java EE" type of Eclipse, and installed the Google Plugin and AppEngine with no issues. I believe it is because the "Java EE" type comes with WTP.