2021-02-19 00:22:37 +00:00
|
|
|
# bundletool dump
|
|
|
|
|
2024-02-14 20:25:13 +00:00
|
|
|
> Manipulate Android Application Bundles.
|
2024-02-16 15:37:37 +00:00
|
|
|
> More information: <https://developer.android.com/tools/bundletool>.
|
2021-02-19 00:22:37 +00:00
|
|
|
|
|
|
|
- Display the `AndroidManifest.xml` of the base module:
|
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`bundletool dump manifest --bundle {{path/to/bundle.aab}}`
|
2021-02-19 00:22:37 +00:00
|
|
|
|
|
|
|
- Display a specific value from the `AndroidManifest.xml` using XPath:
|
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`bundletool dump manifest --bundle {{path/to/bundle.aab}} --xpath {{/manifest/@android:versionCode}}`
|
2021-02-19 00:22:37 +00:00
|
|
|
|
|
|
|
- Display the `AndroidManifest.xml` of a specific module:
|
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`bundletool dump manifest --bundle {{path/to/bundle.aab}} --module {{name}}`
|
2021-02-19 00:22:37 +00:00
|
|
|
|
|
|
|
- Display all the resources in the application bundle:
|
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`bundletool dump resources --bundle {{path/to/bundle.aab}}`
|
2021-02-19 00:22:37 +00:00
|
|
|
|
|
|
|
- Display the configuration for a specific resource:
|
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`bundletool dump resources --bundle {{path/to/bundle.aab}} --resource {{type/name}}`
|
2021-02-19 00:22:37 +00:00
|
|
|
|
|
|
|
- Display the configuration and values for a specific resource using the ID:
|
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`bundletool dump resources --bundle {{path/to/bundle.aab}} --resource {{0x7f0e013a}} --values`
|
2021-02-19 00:22:37 +00:00
|
|
|
|
|
|
|
- Display the contents of the bundle configuration file:
|
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`bundletool dump config --bundle {{path/to/bundle.aab}}`
|