Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Android apk signing manipulation
#1. removing sing from Android apk in the current directory/カレントディレクトリのapkから署名を削除する
find . -name '*.apk' -exec zip -d {} 'META-INF*' \;
#2. signing Android apk in the current directory/カレントディレクトリのapkに署名をする
find . -name '*.apk' -exec jarsigner -verbose -keystore KEYSTORE_PATH -storepass KEYSTORE_PASSPHRASE {} ALIAS_NAME -keypass ALIAS_PASS \;
#3. verifiyng signs/カレントディレクトリのapkの署名を検証する
find . -name '*.apk' -exec jarsigner -verify \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment