Search code examples
androideclipsemavenadtm2e

Maven, Android and Eclipse coexistence problems


I am developing Android projects using Maven in Eclipse.

I installed the Android SDK, ADT for Eclipse and the Android Configurator for M2E, which worked fine.

My problem is that when I update the SDK Tools using the Android SDK manager, the ADT plugin update seems to be ready, but the Android Configurator for M2E is not.

Currently the latest Android SDK Tools revision is 20. The Android Configurator is not compatible with it so I have to wait for an update. However, I can't tell when the update is ready because there's no version number for the configurator, and I can only keep trying to install it every day, see if it works and then uninstall it if it doesn't.

Has anyone else had better luck with using Maven with Android in Eclipse?


Solution

  • This is a known issue with the m2e-android connector caused by the update for ADT version 20.0.0 that is being worked on:

    https://github.com/rgladwell/m2e-android/issues/89

    There should be a version number for the m2e-android (currently on 0.4.1) although it may not be obvious simply by browsing the update site. You can stay updated of new releases by following my twitter feed (@rgladwell) or subscribing to the maven-android-developers Google Group.

    Update The new 0.4.2 release fixes the compatibility issues with ADT 20 was released 6th August. Please run an Eclipse update (Help -> Check for Updates) and let me know if this resolves your problems.