Questions tagged [android-maven-plugin]

The android-maven-plugin allows building of Android applications and libraries with Apache Maven and provides many more features related to Android development.

android-maven-plugin (formerly maven-android-plugin) brings the power of Maven to Android project development. It lets you build Android application (apk) projects as well as application libraries (apklib) and Android archives (aar) with Maven, with simple and powerful configuration. It has features like deploying to all attached devices, running instrumentation tests, taking screenshots, running lint, zipalign, proguard and many more.

208 questions
0
votes
1 answer

Android maven build not signing application

I have been following a couple posts and resources off the internet to get Maven to sign my android apk file. But when I verify if the apk file has been signed using jarsigner, it says that the "jar is unsigned". However, the zip align seems to be…
dleerob
  • 4,951
  • 4
  • 24
  • 36
0
votes
1 answer

How to add Maven Youtube libraries to Android Gradle project?

A have some problem with adding external maven libraries to my Android Gradle project. My application need Facebook SDK and YouTube API to work propertly. I just download facebook SDK, create module and add dependecies in Project Structure and it…
0
votes
1 answer

generate apk file using android maven plugin

`I am trying to generate apk file using maven,my android project has dependency with app compact-v7 and google play services.I am using android 4.4.2.can you please show me pom.xml file to generate apk with these dependencies.
user3619128
  • 285
  • 1
  • 5
  • 12
0
votes
1 answer

error occurs while generating apk file using android-maven-plugin

`I am using android eclipse,i develop a project and add the dependencies GOOGLE play services, app compact v7 in build path.When i run it as a normal android project it is perfectly executing,I add maven POM.XML file to generate APK file,when i…
user3619128
  • 285
  • 1
  • 5
  • 12
0
votes
2 answers

Can an Android AAR have a dependency on another AAR when built with Maven?

This is very similar to Gradle for Android AAR Depending Upon AAR, Both In The Same Remote Repository?, but this question is Maven-specific. If I have an APK project (app) with a dependency on an AAR project (lib1), can lib1 have a dependency on…
Heath Borders
  • 30,998
  • 16
  • 147
  • 256
0
votes
2 answers

Class of new dependency not found in runtime after Android Maven build

I have a pom.xml for my android application. Now i want to add a new depedency through maven. I have added a dependency like this com.commonlib commonlib
saurav
  • 5,388
  • 10
  • 56
  • 101
0
votes
1 answer

android-maven-plugin: how to merge java resources from aar into apk?

I have an aar lib that contains required java resource files. However, when building the final apk application file, only the classes end up in classes.dex, not the resource files stored along them in classes.jar contained within the .aar lib…
user1050755
  • 11,218
  • 4
  • 45
  • 56
0
votes
1 answer

Android ActionBarSherlock Maven - No resources found

I have been trying to add ActionBarSherlock Maven dependecy on my project and i'm getting some problems. When i use ABS themes like: