Skip to content

Instantly share code, notes, and snippets.

@imerr
Created May 30, 2019 10:00
Show Gist options
  • Save imerr/0010b92c726c073fede7d66d91527e9f to your computer and use it in GitHub Desktop.
Save imerr/0010b92c726c073fede7d66d91527e9f to your computer and use it in GitHub Desktop.
Add file to apk and resign
aapt add $PATH_TO_APK $FILES
zipalign -c -v 4 $PATH_TO_APK
apksigner sign --ks $PATH_TO_KEYSTORE $PATH_TO_APK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment