Created
April 3, 2019 20:20
-
-
Save ChechoCZ/aac709613bff4ef8412b9f0bc276f46c to your computer and use it in GitHub Desktop.
Steps to generate the apk file to publish to the Play Store
This file contains 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 --release android | |
#go to $projectFolder/$projectName/platforms/android/app/build/outputs/apk/release | |
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 | |
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore app-release-unsigned.apk alias_name.apk | |
/Users/$userName/Library/Android/sdk/build-tools/$version/zipalign -v 4 app-release-unsigned.apk appName.apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment