REST Resource: systemapks.variants
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
리소스: 대안
시스템 이미지에 포함하기에 적합한 APK입니다. SystemApksService의 리소스입니다.
필드 |
variantId |
integer (uint32 format)
출력 전용입니다. 이전에 만든 시스템 APK 변형의 ID입니다.
|
deviceSpec |
object (DeviceSpec )
APK를 생성하는 데 사용된 기기 사양입니다.
|
options |
object (SystemApkOptions )
선택사항입니다. 생성된 APK에 적용되는 옵션입니다.
|
DeviceSpec
시스템 APK를 생성하는 데 사용되는 기기 사양입니다.
JSON 표현 |
{
"supportedAbis": [
string
],
"supportedLocales": [
string
],
"screenDensity": integer
} |
필드 |
supportedAbis[] |
string
지원되는 ABI 아키텍처(환경설정 순서대로) 값은 플랫폼에서 보고한 문자열이어야 합니다. 예: 'armeabi-v7a', 'x86_64'.
|
supportedLocales[] |
string
설치된 모든 언어는 BCP-47 문자열로 표현됩니다. 예: 'en-US').
|
screenDensity |
integer (uint32 format)
화면 dpi
|
SystemApkOptions
JSON 표현 |
{
"uncompressedNativeLibraries": boolean,
"uncompressedDexFiles": boolean,
"rotated": boolean
} |
필드 |
uncompressedNativeLibraries |
boolean
시스템 APK가 압축되지 않은 네이티브 라이브러리와 함께 생성되었는지 여부입니다.
|
uncompressedDexFiles |
boolean
시스템 APK가 압축되지 않은 dex 파일로 생성되었는지 여부입니다.
|
rotated |
boolean
순환된 키를 시스템 APK 서명에 사용할지 여부입니다.
|
메서드 |
|
이미 업로드된 Android App Bundle에서 시스템 이미지에 포함하기에 적합한 APK를 만듭니다. |
|
시스템 이미지에 포함하기에 적합한 이전에 만든 시스템 APK를 다운로드합니다. |
|
이전에 만든 시스템 APK 변형을 반환합니다. |
|
이전에 만든 시스템 APK 변형의 목록을 반환합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eSystem APK variants are APKs suitable for inclusion in a system image, customizable by device specifications and options.\u003c/p\u003e\n"],["\u003cp\u003eDevice specifications for system APKs include supported ABIs, locales, and screen density.\u003c/p\u003e\n"],["\u003cp\u003eSystem APK options can include uncompressed native libraries, dex files, and rotated key signing.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can create, download, retrieve information about, and list system APK variants using the provided methods.\u003c/p\u003e\n"]]],["System APK variants are defined by `variantId`, `deviceSpec`, and `options`. `DeviceSpec` includes supported ABIs, locales, and screen density. `SystemApkOptions` manage uncompressed native libraries, uncompressed dex files, and rotated keys. Key actions include `create` to generate a system APK from an app bundle, `download` to retrieve a created APK, `get` to fetch a specific variant, and `list` to retrieve all created variants. These methods are all actions related to system APKs.\n"],null,["# REST Resource: systemapks.variants\n\n- [Resource: Variant](#Variant)\n - [JSON representation](#Variant.SCHEMA_REPRESENTATION)\n- [DeviceSpec](#DeviceSpec)\n - [JSON representation](#DeviceSpec.SCHEMA_REPRESENTATION)\n- [SystemApkOptions](#SystemApkOptions)\n - [JSON representation](#SystemApkOptions.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Variant\n-----------------\n\nAPK that is suitable for inclusion in a system image. The resource of SystemApksService.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"variantId\": integer, \"deviceSpec\": { object (/android-publisher/api-ref/rest/v3/systemapks.variants#DeviceSpec) }, \"options\": { object (/android-publisher/api-ref/rest/v3/systemapks.variants#SystemApkOptions) } } ``` |\n\n| Fields ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `variantId` | `integer (`[uint32](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The ID of a previously created system APK variant. |\n| `deviceSpec` | `object (`[DeviceSpec](/android-publisher/api-ref/rest/v3/systemapks.variants#DeviceSpec)`)` The device spec used to generate the APK. |\n| `options` | `object (`[SystemApkOptions](/android-publisher/api-ref/rest/v3/systemapks.variants#SystemApkOptions)`)` Optional. Options applied to the generated APK. |\n\nDeviceSpec\n----------\n\nThe device spec used to generate a system APK.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------|\n| ``` { \"supportedAbis\": [ string ], \"supportedLocales\": [ string ], \"screenDensity\": integer } ``` |\n\n| Fields ||\n|----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `supportedAbis[]` | `string` Supported ABI architectures in the order of preference. The values should be the string as reported by the platform, e.g. \"armeabi-v7a\", \"x86_64\". |\n| `supportedLocales[]` | `string` All installed locales represented as BCP-47 strings, e.g. \"en-US\". |\n| `screenDensity` | `integer (`[uint32](https://developers.google.com/discovery/v1/type-format)` format)` Screen dpi. |\n\nSystemApkOptions\n----------------\n\nOptions for system APKs.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------|\n| ``` { \"uncompressedNativeLibraries\": boolean, \"uncompressedDexFiles\": boolean, \"rotated\": boolean } ``` |\n\n| Fields ||\n|-------------------------------|--------------------------------------------------------------------------------|\n| `uncompressedNativeLibraries` | `boolean` Whether system APK was generated with uncompressed native libraries. |\n| `uncompressedDexFiles` | `boolean` Whether system APK was generated with uncompressed dex files. |\n| `rotated` | `boolean` Whether to use the rotated key for signing the system APK. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|\n| ### [create](/android-publisher/api-ref/rest/v3/systemapks.variants/create) | Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle. |\n| ### [download](/android-publisher/api-ref/rest/v3/systemapks.variants/download) | Downloads a previously created system APK which is suitable for inclusion in a system image. |\n| ### [get](/android-publisher/api-ref/rest/v3/systemapks.variants/get) | Returns a previously created system APK variant. |\n| ### [list](/android-publisher/api-ref/rest/v3/systemapks.variants/list) | Returns the list of previously created system APK variants. |"]]