Skip to content

Instantly share code, notes, and snippets.

@Folyd
Created September 6, 2015 07:01
Show Gist options
  • Save Folyd/8d95ce7fc1cc7d1b0a9d to your computer and use it in GitHub Desktop.
Save Folyd/8d95ce7fc1cc7d1b0a9d to your computer and use it in GitHub Desktop.
Singed apk file use local key store
#!/usr/bin/env bash
if [ $# -lt 2 ] ;then
echo "Please specify a key store"
exit 0
fi
if [ $# -lt 3 ] ;then
echo "Please specify a source unsigned apk file"
exit 0
fi
jarsigner -verbose -keystore $1 -signedjar signed.apk $2 beethoven
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment