Note : I am using Maven 3.2.2, Eclipse Luna
This is the dependency in my pom.xml that uses Android AAR archive
<dependency>
<groupId>com.github.gabrielemariotti.cards</groupId>
<artifactId>library</artifactId>
<version>1.7.3</version>
<type>aar</type>
</dependency>
I can see the classes installed in target/classes folder.
But when I try to use the classes in the AAR, Eclipse is showing class cannot be resolved. I have no problem using classes added by JAR dependencies in pom.xml
Any help would be greatly appreciated.
At this present moment in time the m2e-android plug-in cannot support AAR files because the ADT development team have not added AAR support to the Eclipse ADT plug-in.
This is an outstanding issue:
https://github.com/rgladwell/m2e-android/issues/177
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With