bundletool-dump

Command-line tool to manipulate Android Application Bundles.

TLDR

Display the AndroidManifest.xml of the base module

$ bundletool dump manifest --bundle=[path/to/bundle.aab]
copy

Display a specific value from the AndroidManifest.xml using XPath

$ bundletool dump manifest --bundle=[path/to/bundle.aab] --xpath=[/manifest/@android:versionCode]
copy

Display the AndroidManifest.xml of a specific module

$ bundletool dump manifest --bundle=[path/to/bundle.aab] --module=[name]
copy

Display all the resources in the application bundle

$ bundletool dump resources --bundle=[path/to/bundle.aab]
copy

Display the configuration for a specific resource

$ bundletool dump resources --bundle=[path/to/bundle.aab] --resource=[type/name]
copy

Display the configuration and values for a specific resource using the ID

$ bundletool dump resources --bundle=[path/to/bundle.aab] --resource=[0x7f0e013a] --values
copy

Display the contents of the bundle configuration file

$ bundletool dump config --bundle=[path/to/bundle.aab]
copy

Copied to clipboard
Dodo Farming