Created
May 11, 2019 19:44
-
-
Save indatawetrust/2793d89314b4b29f6e36eba81ae84fa1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ionic cordova build android --prod --release | |
rm app-release-unsigned.apk | |
cp platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk . | |
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.jks -storepass PASSWORD -keypass PASSWORD app-release-unsigned.apk my-alias | |
rm HelloWorld.apk | |
~/Library/Android/sdk/build-tools/24.0.3/zipalign -v 4 app-release-unsigned.apk HelloWorld.apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment