Skip to content

Instantly share code, notes, and snippets.

@scorpiodawg
Last active February 21, 2018 01:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scorpiodawg/6523c6feae5ab97d95afa57b4a096bd7 to your computer and use it in GitHub Desktop.
Save scorpiodawg/6523c6feae5ab97d95afa57b4a096bd7 to your computer and use it in GitHub Desktop.
Running aapt directly to create an APK

Run aapt directly to create am unsigned APK:

aapt package \
    -v \
    -M AndroidManifest.xml \
    -S res/ \
    -I /path/to/overlaid.apk \
    -I /path/to/out/target/product/device/system/framework/framework-res.apk \
    -F package.apk \
    -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment