Skip to content

gplay system-apks

Create APKs for system image inclusion.

gplay system-apks <subcommand> [flags]

Create and manage system APK variants for OEM/system image inclusion.

System APKs are pre-installed on devices by OEMs. Use these commands to create variants for specific device configurations.

Create a system APK variant.

gplay system-apks create --package <name> --version-code <code> --json <json>

Create a system APK variant from an app bundle.

JSON format: { “deviceSpec”: { “screenDensity”: 480, “supportedAbis”: [“arm64-v8a”, “armeabi-v7a”], “supportedLocales”: [“en-US”, “es”] }, “options”: { “rotated”: false, “uncompressedDexFiles”: false, “uncompressedNativeLibraries”: true } }

Flag Description Default
--json SystemApkOptions JSON (or @file) ``
--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

List system APK variants.

gplay system-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

Get a system APK variant.

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

Download a system APK variant.

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