Forrest logo
back to the aapt tool

aapt:tldr:dbe53

aapt: Display an app's metadata (version, permissions, etc.).
$ aapt dump badging ${path-to-app-apk}
try on your machine

The command "aapt dump badging ${path-to-app-apk}" is used to extract information about an Android application package (APK) file.

The "aapt" stands for Android Asset Packaging Tool, which is a command-line utility that comes with the Android SDK (Software Development Kit). It is used for various operations related to the manipulation of APK files.

The "dump" subcommand is used to extract information from the APK file. When combined with the "badging" option, it specifically retrieves information about the application's package (APK) file.

The "${path-to-app-apk}" is a placeholder indicating that you need to provide the actual file path to the APK you want to extract information from. For example, it could be something like "/path/to/myapp.apk".

When you run this command in a terminal or command prompt, it executes the "aapt" tool and instructs it to dump the badging information of the specified APK file. This information includes details like the package name, version name, version code, target SDK version, permission requirements, and more.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the aapt tool