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
بُنى 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 للنظام
|
الطُرق |
|
ينشئ هذا الإعداد حزمة APK مناسبة للتضمين في صورة نظام من مجموعة حزمات تطبيق Android تم تحميلها من قبل. |
|
يتم تنزيل حزمة APK لنظام تم إنشاؤها سابقًا والتي تكون مناسبة للتضمين في إحدى صور النظام. |
|
تعرض صيغة APK لنظام تم إنشاؤها سابقًا. |
|
تعرض قائمة صيغ APK الخاصة بالنظام التي تم إنشاؤها سابقًا. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]