CmdID

CmdID / Commands

bundletool

Manipulate Android Application Bundles. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Manipulate Android Application Bundles. Some subcommands such as validate have their own usage documentation.

Display help for a subcommand

bundletool help subcommandIdentify

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.apksIdentify

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.apksIdentify

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.apksIdentify

Install the right combination of APKs to an emulator or device

bundletool install-apks --apks path/to/file.apksIdentify

Estimate the download size of an application

bundletool get-size total --apks path/to/file.apksIdentify

Generate a device specification JSON file for an emulator or device

bundletool get-device-spec --output path/to/file.jsonIdentify

Verify a bundle and display detailed information about it

bundletool validate --bundle path/to/bundle.aabIdentify