Skip to content Skip to sidebar Skip to footer

Maven Failed To Execute Goal Com.jayway.maven.plugins.android.generation2

I want a simple android hello world program in with maven.here is my pom.xml file

Solution 1:

I ran into the same problem with the com.jayway.maven plugin when trying to build Android Bootstrap project. I was able to fix this by going into pom.xml properties section and adding my ANDROID sdk path.

<properties><abs.version>4.3.1</abs.version><dagger.version>1.0.1</dagger.version><otto.version>1.3.4</otto.version><gson.version>2.2.4</gson.version><menudrawer.version>3.0.2</menudrawer.version><android.sdk.path>C:\Android\adt-bundle-windows-x86_64-20131030\sdk</android.sdk.path></properties>

I originally had it pointing to my JAVA SDK which was causing it to fail -- you need to point this to your ANDROID sdk.

Solution 2:

This path is not set: ANDROID_HOME and your SDK may be too low a version. And then after setting.xml set full path android sdk.

Post a Comment for "Maven Failed To Execute Goal Com.jayway.maven.plugins.android.generation2"