Skip to content

Instantly share code, notes, and snippets.

@hkhoshraftar
Created September 1, 2020 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hkhoshraftar/64a437b7ee2bb8b39f6fcd95c44537dc to your computer and use it in GitHub Desktop.
Save hkhoshraftar/64a437b7ee2bb8b39f6fcd95c44537dc to your computer and use it in GitHub Desktop.
cordova plugin rm org.apache.cordova.console --save
keytool -genkey -v -keystore name.keystore -alias name_alias -keyalg RSA -keysize 2048 -validity 10000
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore path\name.keystore app-release-unsigned.apk name_alias
cordova build --release android
C:\Users\Hosein\AppData\Local\Android\Sdk\build-tools\30.0.2\zipalign.exe -v 4 "path\app-release-unsigned.apk" "path\app.apk"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment