החל משנת 2026, כדי להתאים למודל הפיתוח היציב שלנו ולשמור על יציבות הפלטפורמה בסביבה העסקית, נפרסם קוד מקור ב-AOSP ברבעון השני וברבעון הרביעי. כדי ליצור ולתרום ל-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
|
שיטת עזר שמשמשת ליצירת לקוח Android Build.
סיכום
ערכים קבועים
BUILD_ENV_INVOCATION_CONTEXT_KEY
public static final String BUILD_ENV_INVOCATION_CONTEXT_KEY
ערך קבוע:
"android-build-environment"
constructors ציבוריים
AndroidBuildAPIHelper
public AndroidBuildAPIHelper ()
methods ציבוריים
getClient
public static Androidbuildinternal getClient (String environment)
| פרמטרים |
environment |
String |
| החזרות |
Androidbuildinternal |
|
| הקפצת הודעות שגיאה (throw) |
GeneralSecurityException |
|
IOException |
|
getLegacyClient
public static Androidbuildinternal getLegacyClient (String environment)
יצירת גרסה 2 של הלקוח
| פרמטרים |
environment |
String |
| החזרות |
Androidbuildinternal |
|
| הקפצת הודעות שגיאה (throw) |
GeneralSecurityException |
|
IOException |
|
getTestStorageClient
public static Androidbuildinternal getTestStorageClient (String rootUrl,
String servicePath)
| פרמטרים |
rootUrl |
String |
servicePath |
String |
| החזרות |
Androidbuildinternal |
|
| הקפצת הודעות שגיאה (throw) |
FileNotFoundException |
|
GeneralSecurityException |
|
IOException |
|
getTestStorageClient
public static Androidbuildinternal getTestStorageClient (String environment)
| פרמטרים |
environment |
String |
| החזרות |
Androidbuildinternal |
|
| הקפצת הודעות שגיאה (throw) |
FileNotFoundException |
|
GeneralSecurityException |
|
IOException |
|
getV4BranchClient
public static BranchServiceClient getV4BranchClient (String environment)
| פרמטרים |
environment |
String |
| החזרות |
BranchServiceClient |
|
| הקפצת הודעות שגיאה (throw) |
GeneralSecurityException |
|
IOException |
|
getV4BuildArtifactClient
public static BuildArtifactServiceClient getV4BuildArtifactClient (String environment)
| פרמטרים |
environment |
String |
| החזרות |
BuildArtifactServiceClient |
|
| הקפצת הודעות שגיאה (throw) |
GeneralSecurityException |
|
IOException |
|
getV4BuildClient
public static BuildServiceClient getV4BuildClient (String environment)
| פרמטרים |
environment |
String |
| החזרות |
BuildServiceClient |
|
| הקפצת הודעות שגיאה (throw) |
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)."],[],[]]