החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
LocalEmulatorSnapshot
public
class
LocalEmulatorSnapshot
extends BaseEmulatorPreparer
TargetPreparer שנועד ליצור קובץ snapshot נקי של אמולטור מסביבת פיתוח או build של Android
סיכום
שיטות ציבוריות |
void
|
setUp(TestInformation testInformation)
|
void
|
tearDown(TestInformation testInformation, Throwable e)
|
קונסטרוקטורים גלויים לכולם
LocalEmulatorSnapshot
public LocalEmulatorSnapshot ()
שיטות ציבוריות
public void setUp (TestInformation testInformation)
פרמטרים |
testInformation |
TestInformation |
זריקות |
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
|
public void tearDown (TestInformation testInformation,
Throwable e)
פרמטרים |
testInformation |
TestInformation |
e |
Throwable |
זריקות |
DeviceNotAvailableException |
|
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-03-26 (שעון 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"]],["עדכון אחרון: 2025-03-26 (שעון UTC)."],[],[]]