Created
February 12, 2014 09:43
-
-
Save caingougou/8952570 to your computer and use it in GitHub Desktop.
Create keystore file and sign a jar file (or android package)
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
# create keystore file | |
keytool -genkey -v -keystore [my-release-key].ketstore -keyalg RSA -validity 1000 -alias [some_alias] | |
# sign package | |
jarsigner -keystore my-release-key.ketstore [some-release-unsigned.apk] some_alias | |
# verify signed package | |
jarsigner -verify [some-release-unsigned.apk] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment