Skip to content Skip to sidebar Skip to footer

Eclipse Indigo Cannot Import Maven Android That Builds Ok On Command Line

I created a maven android project from the command line using this archetype: 19: remote -> android-quickstart (-) I can call 'mvn install' on it with success. When I try to im

Solution 1:

Thilo-Alexander Ginkel has it right: m2eclipse-android-integration just doesn't work with Indigo Java. I followed this link, http://groups.google.com/group/maven-android-developers/browse_thread/thread/3b463cf80edc41e3, and someone suggested installing Indigo J2EE which does not come with Maven integration. Thus, to get m2Eclipse, Android, and m2Eclipse-Android-Integration it was effectively the same as Helios...you just install everything yourself.

Solution 2:

I guess that the m2e Android integration plugin is incompatible with the current m2e plugin release. For details, see: http://code.google.com/a/eclipselabs.org/p/m2eclipse-android-integration/issues/detail?id=57

You may try building the plugin from source as the incompatibility has already been fixed on source-level (at least that's what I am trying to do right now).

Edit: Manually building m2eclipse-android-integration seems to be a little tricky, but I prepared some detailed information how to get the plugin running under Eclipse Helios (did not test Indigo) by installing an older plugin version: http://www.tgbyte.de/en/2011/07/building-android-maven-projects-with-eclipse/

Solution 3:

As Thilo-Alexandar says, the Maven Android Integration plugin is incompatible with the new m2e plugin release due to the move from Sonatype to eclipse, which required a full package re-name breaking all previous code.

A compatible version of the plugin will be released as soon as issue 23 is resolved:

http://code.google.com/a/eclipselabs.org/p/m2eclipse-android-integration/issues/detail?id=23

Post a Comment for "Eclipse Indigo Cannot Import Maven Android That Builds Ok On Command Line"