Skip to content

gplay bundles

Manage app bundles in an edit.

gplay bundles <subcommand> [flags]

Upload an app bundle to an edit.

gplay bundles upload --package <name> --edit <id> --file <path>
Flag Description Default
--edit Edit ID ``
--file Path to .aab file ``
--output Output format: json (default), table, markdown json
--package Package name (applicationId) ``
--pretty Pretty-print JSON output false

List app bundles in an edit.

gplay bundles list --package <name> --edit <id>
Flag Description Default
--edit Edit ID ``
--output Output format: json (default), table, markdown json
--package Package name (applicationId) ``
--pretty Pretty-print JSON output false

Analyze a local AAB/APK: size per module, bucket, and largest files.

gplay bundles analyze --file <app.aab>

Analyze an AAB/APK offline (no Play API calls).

The analyzer parses the archive’s ZIP structure and groups entries into buckets (dex/resources/native/assets/etc.) and AAB modules. Use –top-files to surface the largest individual entries.

Flag Description Default
--file Path to .aab or .apk (required) ``
--output Output format: json (default), table, markdown json
--pretty Pretty-print JSON output false
--top-files Number of largest individual files to include 20

Diff two AAB/APK files and flag size regressions.

gplay bundles compare --base <a.aab> --candidate <b.aab> [--threshold 2M]

Diff two AAB/APK files and flag size regressions for CI.

When –threshold is set, exits non-zero if the uncompressed delta exceeds it.

Flag Description Default
--base Baseline AAB/APK (required) ``
--candidate Candidate AAB/APK (required) ``
--output Output format: json (default), table, markdown json
--pretty Pretty-print JSON output false
--threshold Regression threshold in bytes (e.g. 500K, 2M, 1G) ``