1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:02:09 +02:00

bundletool-dump: add page (#5266)

This commit is contained in:
Axel Navarro 2021-02-18 21:22:37 -03:00 committed by GitHub
parent 258c02f991
commit c28ff26226
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}}`