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

Slow build Android Maven Project

I have a multi module Maven project and I need help to optimize the time spent to build my Android module. When running the goals "clean install" or "verify" concluded that the Android project is consuming most of the time. The summary of time spent…
falvojr
  • 3,060
  • 4
  • 31
  • 54
0
votes
1 answer

Missing architectures in apklib with native code apklib dependency (android-maven-plugin)

I have an apklib which includes 3 architecture lib: armeabi/lib.so armeabi-v7a/lib.so x86/lib.so I m using this apklib as a dependency for other apk and/or apklib projects, but when building with maven-android-plugin my project just contain one…
M Penades
  • 1,572
  • 13
  • 24
0
votes
1 answer

Eclipse compilation error when depending on external apklib

I have a several android library projects that I'm trying to convert to Maven. I encountered a problem where mvn clean install is successful but in Eclipse there are import issues as if the classes in the project2 apklib is not in the classpath of…
Ika
  • 1,456
  • 1
  • 15
  • 24
0
votes
1 answer

Maven-Android-Plugin 3.8.2 causes ActionBarSherlock issues

I've been a happy ABS user for a number of years now but since my last updated to the maven-android-plugin I cannot get the built app to run on devices without a native Action Bar...i.e. anything before Honeycomb. The exception I am getting…
BrantApps
  • 6,362
  • 2
  • 27
  • 60
0
votes
1 answer

Maven and Android SDK Deployer issue with Mediarouter

I am simply trying to setup maven on my machine to build Android projects. I have maven 3.1.1. And have installed all platforms from the Android SDK Manager. When I do: mvn clean install on Maven-Android-SDK-Deployer, Everything seems to work…
revolutionary
  • 3,314
  • 4
  • 36
  • 53
0
votes
1 answer

Maven won't run Android instrumentation tests

How should Android instrumentation tests be run for automatic testing with jayway's maven-android-plugin? I checked out apidemos-android-16 and ran them with mvn clean install, but only 7 unit tests were executed. Focus2ActivityTest for example…
Christian Strempfer
  • 7,291
  • 6
  • 50
  • 75
0
votes
3 answers

appengine-maven-plugin versus maven-android-plugin

I'm trying to use Google Cloud Endpoints with Android client, built by Maven. The problem is that appengine-maven-plugin v1.8.3+ require Maven v3.1.0+ [ERROR] Failed to execute goal com.google.appengine:appengine-maven-…
0
votes
2 answers

Android Maven Plugin and flavors

Does someone know if it's possible, and in which extent, to build different app flavors using the Android Maven Plugin ? I just saw there was a rename manifest package option in the aapt goal (read in this excellent blog article btw). Are there any…
Snicolas
  • 37,840
  • 15
  • 114
  • 173
0
votes
1 answer

Robotium project and maven

I tried to create an android test project using Robotium as testing framework and maven as builder. But, is it necessary for my android application to use maven as builder ???
Yos Ra
  • 117
  • 1
  • 7
0
votes
2 answers

Maven Android Plugin And Library Projects

I have created an android application using maven-android-plugin, I want to use Android-ViewPagerIndicator and I've added dependency in the pom.xml. com.viewpagerindicator library
Yasitha Waduge
  • 13,180
  • 5
  • 35
  • 42
0
votes
1 answer

Maven built .apk with Dagger DI failing to find injected activities

I am attempting to automate the building of my Android application using Maven for Android. The app has the standard Maven folder format with src living under src/main/java and tests living under src/test/java. Confusingly on executing the command,…
0
votes
1 answer

NetBeans does not recognize classes in apklib (ActionBarSherlock for instance)

I'm working on an Android app in NetBeans 7.3 (because it's my preferred IDE). It's a Maven project, it has a dependency on ActionBarSherlock and I'm using the android-maven-plugin. My POM is similar to this one:
Arno Moonen
  • 1,134
  • 2
  • 10
  • 28
0
votes
1 answer

Compiled classes with resources as library project?

I have to develop an Android library which needs to be packaged and distributed to Android developers. It has both Java classes and resources (icons etc). I'm wondering about the best way of distributing such a library. As we all know many…
0
votes
1 answer

Change name of surefire-report that android-maven-plugin outputs

I can't find any way to change the name of the surefire-report that uiautomator together with android-maven-plugin outputs. Anyone know if its possible? Or any work around?
jelgh
  • 705
  • 1
  • 6
  • 22
0
votes
3 answers

Maven cannot find external jar's annotations

I'm converting a simple android app to Maven, and I've hit a snag with a 3rd party jar (ActiveAndroid) that contains an annotation class that I'm using within my code. I've confirmed that the jar does contain the annotations class files, and the jar…
danh32
  • 6,234
  • 2
  • 38
  • 39
1 2 3
13
14