timkim / phonegap-day-workshop-app-submission

A guide to help mobile phonegap developers submit their apps to the store.
3 stars 1 forks source link

Android Packaging Instructions #1

Open bishopZ opened 8 years ago

bishopZ commented 8 years ago

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.

timkim commented 8 years ago

Hey there @bishopZ

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?