REST Resource: systemapks.variants
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: वैरिएंट
वह APK जो किसी सिस्टम इमेज में शामिल किए जाने के लिए सही हो. SystemApksService का संसाधन.
फ़ील्ड |
variantId |
integer (uint32 format)
सिर्फ़ आउटपुट के लिए. पहले से बनाए गए सिस्टम के APK के वैरिएंट का आईडी.
|
deviceSpec |
object (DeviceSpec )
APK जनरेट करने के लिए इस्तेमाल की जाने वाली डिवाइस की खास जानकारी.
|
options |
object (SystemApkOptions )
ज़रूरी नहीं. जनरेट किए गए APK पर लागू विकल्प.
|
DeviceSpec
सिस्टम APK जनरेट करने के लिए, इस्तेमाल किए जाने वाले डिवाइस की खास जानकारी.
JSON के काेड में दिखाना |
{
"supportedAbis": [
string
],
"supportedLocales": [
string
],
"screenDensity": integer
} |
फ़ील्ड |
supportedAbis[] |
string
प्राथमिकता के हिसाब से, काम करने वाले एबीआई आर्किटेक्चर. वैल्यू, प्लैटफ़ॉर्म से रिपोर्ट की गई स्ट्रिंग होनी चाहिए, जैसे कि "armeabi-v7a", "x86_64".
|
supportedLocales[] |
string
इंस्टॉल की गई सभी स्थान-भाषाएं, जिन्हें BCP-47 स्ट्रिंग के तौर पर दिखाया गया है, जैसे कि "en-US".
|
screenDensity |
integer (uint32 format)
स्क्रीन डीपीआई.
|
SystemApkOptions
सिस्टम के APKs के विकल्प.
JSON के काेड में दिखाना |
{
"uncompressedNativeLibraries": boolean,
"uncompressedDexFiles": boolean,
"rotated": boolean
} |
फ़ील्ड |
uncompressedNativeLibraries |
boolean
क्या सिस्टम APK को कंप्रेस नहीं की गई नेटिव लाइब्रेरी की मदद से जनरेट किया गया था.
|
uncompressedDexFiles |
boolean
क्या सिस्टम APK को बिना कंप्रेस की गई dex फ़ाइलों के साथ जनरेट किया गया है.
|
rotated |
boolean
सिस्टम APK पर हस्ताक्षर करने के लिए बदली गई कुंजी का इस्तेमाल करना है या नहीं.
|
तरीके |
|
ऐसा APK बनाता है जो पहले से अपलोड किए गए Android ऐप्लिकेशन बंडल की सिस्टम इमेज में शामिल किए जाने के लिए सही होता है. |
|
पहले से बनाया गया सिस्टम APK डाउनलोड करता है जो सिस्टम इमेज में शामिल किए जाने के लिए सही होता है. |
|
सिस्टम के पहले बनाए गए APK का वैरिएंट दिखाता है. |
|
सिस्टम के APK के पहले बनाए गए वैरिएंट की सूची दिखाता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]