Last active
August 29, 2015 14:05
-
-
Save mrded/96aa2564e620e37ff5e2 to your computer and use it in GitHub Desktop.
Android: Sign the app
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
#!/bin/bash | |
# Create the keystone: | |
# keytool -genkey -v -keystore ~/.android/release.keystore -alias demenchuk -keyalg RSA -keysize 2048 -validity 10000 | |
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ~/.android/release.keystore $1 demenchuk | |
rm release.apk | |
zipalign -v 4 $1 release.apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment