Last active
December 22, 2015 08:38
-
-
Save tatuas/6446120 to your computer and use it in GitHub Desktop.
Androidの署名関連をターミナルから行う。
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
// keystoreのパスワードpassword、署名鍵aliasのパスワードkeypassの署名鍵を作る | |
// CNは組織名、0は部署、Cは国籍 | |
$ keytool -genkey -v -keystore hoge.keystore -storepass password -alias alias -keypass keypass -dname "CN=HOGE, O=FUGA, C=JP" -keyalg RSA -validity 10000 | |
// 未署名のAPKに署名する | |
$ jarsigner -verbose -keystore hoge.keystore sample.apk alias | |
keystore pass: password | |
keypass: keypass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment