Google adt / gwt support for eclipse 4.4 (Luna)

Someone got eclipse version 4.4 for working with adt (Android development) and / or google web toolkit (gwt).

It seems that the gwt / adt plugins do not work with eclipse 4.4, so there is a secret place to download new versions or I should continue to use 4.3 - (

Edit: The reason I thought ADT was not working is because the documentation ( http://developer.android.com/sdk/installing/installing-adt.html ) says that the plugin is called "ADT Plugin "which is not.

+6
source share
4 answers

Google just released the official Eclipse Luna SDK: https://developers.google.com/eclipse/docs/getting_started

+11
source

For adt,

help → Install new software → https://dl-ssl.google.com/android/eclipse/ → do not select all

(this worked for me), I selected everything except my own development tools (I think you do not need them if you are debelop in java), and it works well for me.

+8
source

well ... the gwt plugin cannot actually work with the Luna release, since it has a package dependency for eclipse core.runtime [3.8.0.3.10.0], here ")" means that it does NOT include 3.10.0, which is used in the moon, but you can get rid of it by modifying the osgi package file, and then it will work fine with the moon, at least for me at the moment.

1 download the latest zip file of the update site from the google eclipse plugin site 2 unzip it 3, you will need to change 2 files first

osgi META INF / manifest file included in the jar with the name * gdt * e42 (sorry, forget the full name, you can find it when you try to install the plugin, luna will complain that some patch is missing) which is located in the directory plugins, just change the version of core.runtime from 3.10.0) to 3.10.0]

the other should be content.jar (possibly artifacts. jar), same thing above

you can now install the plugin if you have already installed RCP Eclipse

however, the installation will not be completed due to a change in the hash of md5,

finally copy the expected md5 from the error message dialog box to replace the old md5 value in the artifacts.jar file (possibly content.jar)

now reinstall the plugin, now it should work


UPDATED:

maybe you should remove the package version from MANIFEST.MF in com.google.gdt.eclipse.platform.e42 jar and change the version to "0.0.0" from content.xml in content.jar

+3
source

If you use the Help----->Install New Software parameter Help----->Install New Software , you may encounter this error message in the same way as I tried to install the Android plugin.

 An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error reading signed content. error in opening zip file 

My solution was to go through Help-->Eclipse Marketplace and then search for "Android" Select the plugin from the search result and install it there.

+1
source

Source: https://habr.com/ru/post/971378/


All Articles