Skip to content

Instantly share code, notes, and snippets.

@DorkNstein
Created April 3, 2018 16:42
Show Gist options
  • Save DorkNstein/6b9f790a0749c5d82b7832643c3b7539 to your computer and use it in GitHub Desktop.
Save DorkNstein/6b9f790a0749c5d82b7832643c3b7539 to your computer and use it in GitHub Desktop.
Create Signed apk for Android release build.
ionic build --release android
cd platforms/android/build/outputs/apk
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore <your keystore>.keystore android-release-unsigned.apk <alias_name>
zipalign -v 4 android-release-unsigned.apk <final apk name>.apk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment