Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.2:consume-aar

I've installed Eclipse Kepler then installed the Android Development Toolkit and the M2E Android Connector Plugin so I can manage my android projects with maven. However, when I create a new project I'm getting the following error:

 Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.2:consume-aar 

This kinda strange because the M2E Android Connector is installed so what is causing this and how can I fix it?

like image 625
Mario Dennis Avatar asked Jul 28 '26 07:07

Mario Dennis


1 Answers

The reason of the problem you are facing is that handling consume-aar goal is not yet implemented in m2e-android (Android Connector for M2E).

Here is the relevant m2e-android ticket for this, witch is in turn blocked by fact that ADT does not implement AAR support (ADT ticket).

Until these tickets are fixed there is a workaround for this but I cannot guarantee that it will work in all cases (basically it tells Maven integration with Eclipse to skip problematic build step).

An alternative solution would be to opt out for Android Studio (as far as I know it is implemented there).

Hope this will help.

like image 129
Eugene Loy Avatar answered Jul 30 '26 20:07

Eugene Loy