Skip to content Skip to sidebar Skip to footer

Android Maven Project In Eclipse With Apklib

I am trying to add google play services to existing android maven project using jar and apklib. The project does compile using mvn clean install, but in Eclipse i am getting this e

Solution 1:

In order to compile a project with an Android Library (APKLIB) dependency in Eclipse you need to have m2e-android installed and a "Mavenised" copy of the Android Library source code checked-out into your local Eclipse workspace.

When I say "Mavenised" I mean that the Android Library project should have a POM with coordinates (group ID, version, etc.) that match the apklib dependency in you application POM.

Post a Comment for "Android Maven Project In Eclipse With Apklib"