Forrest logo
tool overview
On this page you find all important commands for the CLI tool aapt. If the command you are looking for is missing please ask our AI.

aapt

AAPT2 (Android Asset Packaging Tool) is a build tool that Android Studio and Android Gradle Plugin use to compile and package your app's resources. AAPT2 parses, indexes, and compiles the resources into a binary format that is optimized for the Android platform.

List of commands for aapt:

  • aapt:tldr:2b925 aapt: Create a new APK archive with files from the specified directory.
    $ aapt package -F ${path-to-app-apk} ${path-to-directory}
    try on your machine
    explain this command
  • aapt:tldr:cfb43 aapt: List files contained in an APK archive.
    $ aapt list ${path-to-app-apk}
    try on your machine
    explain this command
  • aapt:tldr:dbe53 aapt: Display an app's metadata (version, permissions, etc.).
    $ aapt dump badging ${path-to-app-apk}
    try on your machine
    explain this command
tool overview