Created
November 2, 2017 17:03
-
-
Save JuanjoSalvador/db23838d63200f70c2851f164825b6db to your computer and use it in GitHub Desktop.
APK signer for Android development
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
#!/bin/bash | |
# Fill the empty vars and place it on /usr/local/bin/ | |
# Run it by: | |
# $ apksigner <apk file> | |
PACKAGE=$1 | |
KEYSTORE=<YOUR KEYSTORE FILE HERE> | |
ALIAS=<YOUR KEY ALIAS HERE> | |
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore $KEYSTORE $PACKAGE $ALIAS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment