ตั้งแต่ปี 2026 เป็นต้นไป เราจะเผยแพร่ซอร์สโค้ดไปยัง AOSP ในไตรมาสที่ 2 และ 4 เพื่อให้สอดคล้องกับโมเดลการพัฒนาแบบ Trunk Stable และรับประกันความเสถียรของแพลตฟอร์มสำหรับระบบนิเวศ หากต้องการสร้างและมีส่วนร่วมใน AOSP ให้ใช้ android-latest-release android-latest-release สาขา Manifest จะอ้างอิงถึงรุ่นล่าสุดที่พุชไปยัง AOSP เสมอ ดูข้อมูลเพิ่มเติมได้ที่การเปลี่ยนแปลงใน AOSP
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
AndroidBuildAPIHelper
public
class
AndroidBuildAPIHelper
extends Object
| java.lang.Object
|
| ↳ |
com.google.android.tradefed.util.androidbuildapi.AndroidBuildAPIHelper
|
เมธอด Helper ที่ใช้สร้างไคลเอ็นต์ Android Build
สรุป
ค่าคงที่
BUILD_ENV_INVOCATION_CONTEXT_KEY
public static final String BUILD_ENV_INVOCATION_CONTEXT_KEY
ค่าคงที่
"android-build-environment"
เครื่องมือสร้างสาธารณะ
AndroidBuildAPIHelper
public AndroidBuildAPIHelper ()
เมธอดสาธารณะ
getClient
public static Androidbuildinternal getClient (String environment)
| พารามิเตอร์ |
environment |
String |
| การคืนสินค้า |
Androidbuildinternal |
|
| ส่ง |
GeneralSecurityException |
|
IOException |
|
getLegacyClient
public static Androidbuildinternal getLegacyClient (String environment)
สร้างไคลเอ็นต์เวอร์ชัน V2
| พารามิเตอร์ |
environment |
String |
| การคืนสินค้า |
Androidbuildinternal |
|
| ส่ง |
GeneralSecurityException |
|
IOException |
|
getTestStorageClient
public static Androidbuildinternal getTestStorageClient (String rootUrl,
String servicePath)
| พารามิเตอร์ |
rootUrl |
String |
servicePath |
String |
| การคืนสินค้า |
Androidbuildinternal |
|
| ส่ง |
FileNotFoundException |
|
GeneralSecurityException |
|
IOException |
|
getTestStorageClient
public static Androidbuildinternal getTestStorageClient (String environment)
| พารามิเตอร์ |
environment |
String |
| การคืนสินค้า |
Androidbuildinternal |
|
| ส่ง |
FileNotFoundException |
|
GeneralSecurityException |
|
IOException |
|
getV4BranchClient
public static BranchServiceClient getV4BranchClient (String environment)
| พารามิเตอร์ |
environment |
String |
| การคืนสินค้า |
BranchServiceClient |
|
| ส่ง |
GeneralSecurityException |
|
IOException |
|
getV4BuildArtifactClient
public static BuildArtifactServiceClient getV4BuildArtifactClient (String environment)
| พารามิเตอร์ |
environment |
String |
| การคืนสินค้า |
BuildArtifactServiceClient |
|
| ส่ง |
GeneralSecurityException |
|
IOException |
|
getV4BuildClient
public static BuildServiceClient getV4BuildClient (String environment)
| พารามิเตอร์ |
environment |
String |
| การคืนสินค้า |
BuildServiceClient |
|
| ส่ง |
GeneralSecurityException |
|
IOException |
|
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2026-06-22 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2026-06-22 UTC"],[],[]]