Skip to content

gplay generated-apks

Download device-specific APKs generated from app bundles.

gplay generated-apks <subcommand> [flags]

Download device-specific APKs that Google Play generates from app bundles.

When you upload an app bundle, Google Play generates optimized APKs for each device configuration. Use this command to download these APKs for testing or distribution outside of the Play Store.

List generated APKs for a version.

gplay generated-apks list --package <name> --version-code <code>
Flag Description Default
--output Output format: json (default), table, markdown json
--package Package name (applicationId) ``
--pretty Pretty-print JSON output false
--version-code Version code of the app bundle 0

Download a generated APK.

gplay generated-apks download --package <name> --version-code <code> --download-id <id> --output <dir>
Flag Description Default
--download-id Download ID from list command ``
--format Output format: json (default), table, markdown json
--output Output directory for downloaded APK .
--package Package name (applicationId) ``
--pretty Pretty-print JSON output false
--version-code Version code of the app bundle 0