Maven release build doesn't Zipalign
Issue #41
resolved
The APK produced by mvn -Prelease is not zipaligned for some reason. I had to run zipalign manually to be able to publish the 1.2-RC2 APK.
Comments (2)
-
-
reporter - changed status to resolved
Fix issue
#41by updating the Android plugin and re-shuffling the zipalign goal and conf.→ <<cset 0e33564ac59e>>
Thanks to Magne for waking me up on this issue and pointing at good doc.
- Log in to comment
From http://www.simpligility.com/2010/06/maven-android-plugin-with-zipalign-and-improved-verification/ :
... <groupId>com.jayway.maven.plugins.android.generation2</groupId> <artifactId>maven-android-plugin</artifactId> <executions> <execution> <id>alignApk</id> <phase>install</phase> <goals> <goal>zipalign</goal> </goals> </execution> ...
Looks like the 2.5.0 version of the android plugin supports this out of the box.