LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

bundletool-dump

Inspect Android App Bundle contents

TLDR

Dump the AndroidManifest.xml from an app bundle
$ bundletool dump manifest --bundle=[app.aab]
copy
Get a specific manifest value using XPath
$ bundletool dump manifest --bundle=[app.aab] --xpath=/manifest/@versionCode
copy
Dump all resources from an app bundle
$ bundletool dump resources --bundle=[app.aab]
copy
Dump a specific resource by ID
$ bundletool dump resources --bundle=[app.aab] --resource=[0x7f0e013a] --values
copy
Dump bundle configuration
$ bundletool dump config --bundle=[app.aab]
copy
Dump signature information
$ bundletool dump signatures --bundle=[app.aab]
copy

SYNOPSIS

bundletool dump subcommand --bundle=path [options]

DESCRIPTION

bundletool dump analyzes the internal structure and metadata of Android App Bundles (.aab) and APK files. It's part of Google's bundletool, the underlying tool used by Android Studio and Google Play to build and process App Bundles.Use cases include build verification, security analysis of signing certificates, resource management inspection, and debugging manifest issues.

PARAMETERS

--bundle path

Path to the Android App Bundle (.aab) file.
--xpath expression
XPath expression to extract specific manifest values.
--resource id
Specific resource ID to dump.
--values
Include resource values in output.
--module name
Specify a module in the bundle to dump from.
--output-file path
Write output to a file instead of stdout.

SUBCOMMANDS

manifest

Dump the parsed AndroidManifest.xml content.
resources
Dump detailed information about the app's resources.
config
Dump bundle configuration (SDK versions, ABIs, screen densities).
signatures
Dump digital signature information.

INSTALL

brew install bundletool
copy
nix profile install nixpkgs#bundletool
copy

CAVEATS

Requires Java Runtime Environment (JRE) version 11 or higher. Not typically pre-installed on Linux systems.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid