Cannot install Google Plugin in Eclipse 4.4

2020-07-06 08:38发布

I have Eclipse 4.4 on my Windows 7. I got the following error when trying to install Google Plugin:

Cannot complete the install because one or more required items could not be found.
Software being installed: Google Plugin for Eclipse 4.3 3.5.1.v201312301723-rel-r43 (com.google.gdt.eclipse.suite.e43.feature.feature.group 3.5.1.v201312301723-rel-r43)

Missing requirement: Google Eclipse 4.2 Platform Plugin 3.5.1.v201312301723-rel-r43 (com.google.gdt.eclipse.platform.e42 3.5.1.v201312301723-rel-r43)
requires 'bundle org.eclipse.core.runtime [3.8.0,3.10.0)' but it could not be found
Cannot satisfy dependency:

From: Google Plugin for Eclipse 4.3 3.5.1.v201312301723-rel-r43 (com.google.gdt.eclipse.suite.e43.feature.feature.group 3.5.1.v201312301723-rel-r43)
To: com.google.gdt.eclipse.platform.e42 [3.5.1.v201312301723-rel-r43]

7条回答
我想做一个坏孩纸
2楼-- · 2020-07-06 09:01

The plugin has a hard requirement to Eclipse 3.8 (up to to 3.10, which doesn't exist), which means it's not able to install on Eclipse 4. See if there is an updated version of the plugin.

If not, you have to install Eclipse 3.8 to run the plugin. The other alternative is to see if the source is available and change the requirements so that it will be able to install on 4.4. But you will be taking a huge risk and using the software in an environment it wasn't designed or tested for.

查看更多
叛逆
3楼-- · 2020-07-06 09:08

I have found that it is possible to change the manifests for the plugin so that it installs in Luna.

As described here, using instructions on a Google Group, I have 'upgraded' my GDT plugin and installed it successfully in Luna. It seems to work fine.

As Alistair Collins points out in his answer, there are apparently incompatibilities with m2eclipse. I don't use that plugin, and I haven't noticed any problems.

查看更多
兄弟一词,经得起流年.
4楼-- · 2020-07-06 09:11

Posted on 27th June on https://groups.google.com/d/msg/google-plugin-eclipse/4YACQROrB2U/2cAEuoW6fkQJ :

Hey all,

Sorry about the delay. I'm going to spend some time on this, and I'd like to have this released within 2 weeks. I'll post updates to this thread...

Rajeev [Dayal]

and then on the 1st August... ( https://groups.google.com/d/msg/google-plugin-eclipse/4YACQROrB2U/W80jj-cbZ5gJ )

The official version of GPE 3.7.0 is live:

https://dl.google.com/eclipse/plugin/4.4 (luna)

https://dl.google.com/eclipse/plugin/4.3 (kepler)

https://dl.google.com/eclipse/plugin/4.2 (juno)

查看更多
女痞
5楼-- · 2020-07-06 09:11
孤傲高冷的网名
6楼-- · 2020-07-06 09:11

Additionally, while Google doesn't release an updated version of the plugin, Vinicio Ferreira put this unofficial version of 4.3's plugin modified to work on 4.4 together in the Google Groups thread about this issue.

It did the trick for me, at least for now.

Here's also a step by step guide on how to download and install it.

查看更多
再贱就再见
7楼-- · 2020-07-06 09:12
登录 后发表回答