无法完成为 Eclipse 安装 Google 插件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4672491/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 19:52:11  来源:igfitidea点击:

Cannot complete installing Google Plugin for eclipse

eclipsegoogle-app-engineeclipse-plugingoogle-eclipse-plugin

提问by mnish

I am trying to install the Google Plugin in eclipse but I get the follwoing error:

我正在尝试在 Eclipse 中安装 Google 插件,但出现以下错误:

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]

无法完成安装,因为找不到一个或多个必需的项目。
正在安装的软件: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 2 Plugin. 1.4 . v201012211742 (com.google.gdt.eclipse.platform.e36 1.4.2.v201012211742) 需要 'bundle org.eclipse.equinox.p2.operations 0.0.0' 但找不到它
无法满足依赖:来自:Google 插件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.212221010 ]

Please help

请帮忙

回答by Mehdi

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/heliosInstall Helios > Web, XML, and Java EE Development > Eclipse Web Developer Tools.

选择帮助 > 安装新软件... 在使用下拉菜单中选择 Helios 更新站点。如果没有,您可以直接输入 URL:http: //download.eclipse.org/releases/helios安装 Helios > Web、XML 和 Java EE 开发 > Eclipse Web 开发人员工具。

回答by K Carlson

Go to About / Install New Software... and enter this URL: http://download.eclipse.org/mylyn/releases/latest

转到关于/安装新软件...并输入此 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.

列表填充后,选择 MyLyn SDKs and Frameworks / MyLyn Commons。安装该插件后,重新启动 Eclipse,然后应安装 Google App Engine 插件。

回答by tkaitchuck

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 将自动为您解析并安装所需的插件。

回答by Archana solipuram

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.

我遇到了同样的错误,查看消息表明这是由于 Java EE IDE 和不同 Eclipse 运行时(3.6 和 3.5)的 Google 插件之间存在冲突。因此,我将 Java EE IDE 升级到可用的最新版本并解决了问题。

回答by Shandigutt

I found out that ADT-Bundlewhose version is eclipse 4.2 has this issue of installing google plugin and when I downloaded eclipse and Android SDKseparately and connected them together. It solved the problem. Google plugin installation worked super fine then

我发现版本是eclipse 4.2的ADT-Bundle有安装google插件的问题,当我分别下载eclipse和Android SDK并将它们连接在一起时。它解决了这个问题。谷歌插件安装工作得非常好

回答by Jason Washo

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.

检查以查看您正在使用的 Eclipse 的“类型”。我使用的是 Luna 4.4.2 的主版本并且遇到了这个问题。然后我切换到“Java EE”类型的 Eclipse,并且安装了 Google 插件和 AppEngine,没有任何问题。我相信这是因为 WTP 附带了“Java EE”类型。