Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundletool-dump: add page #5266

Merged
merged 1 commit into from
Feb 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions pages/common/bundletool-dump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# bundletool dump

> Command-line tool to manipulate Android Application Bundles.
> More information: <https://developer.android.com/studio/command-line/bundletool>.

- Display the `AndroidManifest.xml` of the base module:

`bundletool dump manifest --bundle={{path/to/bundle.aab}}`

- Display a specific value from the `AndroidManifest.xml` using XPath:

`bundletool dump manifest --bundle={{path/to/bundle.aab}} --xpath={{/manifest/@android:versionCode}}`

- Display the `AndroidManifest.xml` of a specific module:

`bundletool dump manifest --bundle={{path/to/bundle.aab}} --module={{name}}`

- Display all the resources in the application bundle:

`bundletool dump resources --bundle={{path/to/bundle.aab}}`

- Display the configuration for a specific resource:

`bundletool dump resources --bundle={{path/to/bundle.aab}} --resource={{type/name}}`

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

`bundletool dump resources --bundle={{path/to/bundle.aab}} --resource={{0x7f0e013a}} --values`

- Display the contents of the bundle configuration file:

`bundletool dump config --bundle={{path/to/bundle.aab}}`