Android Studio now provides a build tool to create the keystore and sign an APK file. It is under Tools > Create Signed APK.
Using the command-line steps outlined in this document creates a signed-unaligned apk file. The ZipAlign tool must then be used to align it. Every time we have tried to align the APK with zipalign, we received a "verification failed" error.
Stackoverflow has lots of info about this stuff, but very little conclusive steps to get it working, except to use Android Studio instead of the command line utilities.
Sorry for the late reply, but I just tested the what is in workshop guide and got my zipalign tool to verify properly. Can you show a sample of the commands you are using?
https://github.com/timkim/phonegap-day-workshop-app-submission/wiki/packaging#android
Android Studio now provides a build tool to create the keystore and sign an APK file. It is under Tools > Create Signed APK.
Using the command-line steps outlined in this document creates a signed-unaligned apk file. The ZipAlign tool must then be used to align it. Every time we have tried to align the APK with zipalign, we received a "verification failed" error.
Stackoverflow has lots of info about this stuff, but very little conclusive steps to get it working, except to use Android Studio instead of the command line utilities.