* pages*: remove = from GNU-style long options * 7z: readd needed = * 7za: add missing = * 7zr: fix argument and option separation * astyle: readd missing = * aws-ecr: readd missing = * az-devops: readd missing = * csslint: readd missing = * cs-fetch: readd missing = * bzgrep: readd missing = * chromium: readd missing = * docker-commit: remove unnecessary = * docker-system: remove unnecessary = * docker-ps: remove unnecessary = * dockerd: remove unnecessary = * 7za: readd missing = * 7zr: readd missing = * chromium.de: readd missing = * chromium.de: readd missing = * bundletool: remove additional space Co-authored-by: Nicolas Kosinski <nicokosi@users.noreply.github.com> --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Nicolas Kosinski <nicokosi@users.noreply.github.com>
38 lines
1.4 KiB
Markdown
38 lines
1.4 KiB
Markdown
# bundletool
|
||
|
||
> Manipulate Android Application Bundles.
|
||
> Some subcommands such as `bundletool validate` have their own usage documentation.
|
||
> More information: <https://developer.android.com/tools/bundletool>.
|
||
|
||
- Display help for a subcommand:
|
||
|
||
`bundletool help {{subcommand}}`
|
||
|
||
- Generate APKs from an application bundle (prompts for keystore password):
|
||
|
||
`bundletool build-apks --bundle {{path/to/bundle.aab}} --ks {{path/to/key.keystore}} --ks-key-alias {{key_alias}} --output {{path/to/file.apks}}`
|
||
|
||
- Generate APKs from an application bundle giving the keystore password:
|
||
|
||
`bundletool build-apks --bundle {{path/to/bundle.aab}} --ks {{path/to/key.keystore}} --ks-key-alias {{key_alias}} –ks-pass {{pass:the_password}} --output {{path/to/file.apks}}`
|
||
|
||
- Generate APKs including only one single APK for universal usage:
|
||
|
||
`bundletool build-apks --bundle {{path/to/bundle.aab}} --mode {{universal}} --ks {{path/to/key.keystore}} --ks-key-alias {{key_alias}} --output {{path/to/file.apks}}`
|
||
|
||
- Install the right combination of APKs to an emulator or device:
|
||
|
||
`bundletool install-apks --apks {{path/to/file.apks}}`
|
||
|
||
- Estimate the download size of an application:
|
||
|
||
`bundletool get-size total --apks {{path/to/file.apks}}`
|
||
|
||
- Generate a device specification JSON file for an emulator or device:
|
||
|
||
`bundletool get-device-spec --output {{path/to/file.json}}`
|
||
|
||
- Verify a bundle and display detailed information about it:
|
||
|
||
`bundletool validate --bundle {{path/to/bundle.aab}}`
|