Google sử dụng công nghệ AI để dịch nội dung sang ngôn ngữ bạn ưu tiên. Bản dịch bằng AI có thể có lỗi.
Method: systemapks.variants.create
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tạo một tệp APK phù hợp để đưa vào ảnh hệ thống từ một tệp Android App Bundle đã tải lên.
Yêu cầu HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
| Các tham số |
packageName |
string
Tên gói của ứng dụng.
|
versionCode |
string (int64 format)
Mã phiên bản của App Bundle.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa một bản sao của Variant.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một thực thể mới được tạo của Variant.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/androidpublisher
[null,null,["Cập nhật lần gần đây nhất: 2025-07-28 UTC."],[],["This outlines the process of creating a system-ready APK from an uploaded Android App Bundle. It utilizes a `POST` HTTP request to a specific URL structure: `https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants`. The request requires `packageName` and `versionCode` path parameters. The request body uses the `Variant` resource, and a successful response returns a newly created `Variant` instance. The process requires `https://www.googleapis.com/auth/androidpublisher` authorization scope.\n"]]