בכרטיסייה SDK Tools (כלי SDK), בוחרים את הגרסה האחרונה של Android Emulator (אמולטור Android) ולוחצים על OK כדי להתקין את הגרסה האחרונה אם היא עדיין לא מותקנת.
ב-Android Studio, פותחים את Device Manager (ניהול מכשירים) על ידי בחירה באפשרות Tools (כלים) > Device Manager (ניהול מכשירים). לוחצים על יצירת מכשיר.
בחלונית Category, בוחרים באפשרות Wear OS ובוחרים פרופיל חומרה.
לוחצים על הבא.
בוחרים תמונת מערכת של Wear OS 6 להורדה, שהיא התמונה עם רמת ה-API 36.0 ועם היעד Android 16.0 ("Baklava") (Wear OS 6.0).
אם עדיין לא התקנתם תמונת מערכת שתואמת להגדרת המכשיר, לוחצים על הורדה לצד שם הגרסה כדי להוריד אותה.
לוחצים על הבא ואז על סיום.
בדיקת האפליקציה באמולטור
אחרי שיוצרים את המכשיר הווירטואלי, מריצים את האפליקציה ובודקים אותה באמולטור שמריץ Wear OS 6:
עוברים לסרגל הכלים של Android Studio ובוחרים את המכשיר הווירטואלי שיצרתם.
לוחצים על הפעלה.
אפליקציות שזמינות באמולטור
האפליקציות הבאות במרחב המשתמש מותקנות מראש באמולטור הרשמי:
איתור הטלפון שלי
פנס
פקדי מדיה
טלפון
חנות Play
הגדרות
בנוסף, אפליקציות המערכת הבאות זמינות באמולטור:
תכונות הנגישות של Android
Bluetooth
מנהל פרטי הכניסה
מנהל ההורדות
מידע למקרה חירום
Google Play Services
שירותי בריאות ל-Wear OS
שירותי Google לזיהוי דיבור והמרת טקסט לדיבור
Wear Services
התראות לניידים על מקרי חירום
עדכון האפליקציה כך שתטרגט ל-Wear OS 6
אחרי עדכון האפליקציה כדי להכין אותה ל-Wear OS 6, אפשר לשפר עוד יותר את התאימות של האפליקציה לגרסה הזו של Wear OS על ידי טירגוט ל-Wear OS 6 (רמת API 36), שמבוססת על Android 16, או לגרסה מתקדמת יותר.
אם מעדכנים את גרסת ה-SDK לטירגוט, צריך לטפל בשינויים בהתנהגות המערכת שנכנסים לתוקף באפליקציות שמטרגטות Android 16 ואילך.
עדכון קובץ ה-build
כדי לעדכן את גרסת ה-SDK לטירגוט, פותחים את הקובץ build.gradle או build.gradle.kts ברמת המודול ומעדכנים אותם עם הערכים הבאים עבור Wear OS 6 (Android 16):
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Prepare for Wear OS 6\n\nThis page explains how to set up the official emulator for testing, and how to\nupgrade your app to target Wear OS 6.\n\nSet up an emulator\n------------------\n\n\nThe Wear OS 6 emulator lets you do the following:\n\n- Test behavior changes in Wear OS 6.\n- Explore the new features that are available in Wear OS 6.\n- View the watch faces that you create using [Watch Face\n Studio](https://developer.samsung.com/watch-face-studio/user-guide/index.html).\n\nUsing the emulator, you can test different screen sizes and watch faces.\n**Note:** The Wear OS 6 emulator isn't available in China. Learn more about how to [create Wear OS apps for China](https://support.google.com/wearos/answer/6321140) and support the China market. \nThe grid view of the set of apps available in the emulator.\n\n\u003cbr /\u003e\n\n### Download and install the emulator\n\nTo set up a virtual device to run Wear OS 6, follow these steps.\n| **Note:** Unlike in previous versions of Wear OS, the emulator that runs Wear OS 6 **uses a signed build**. This means that you can't get root access to the emulator image.\n\n1. Download the [latest preview release of Android Studio](/studio/preview).\n\n | **Note:** You need Android Studio Narwhal or later to get the emulator for Wear OS 6.\n2. In Android Studio, click **Tools \\\u003e SDK Manager**.\n\n3. In the **SDK Tools tab** , select the latest version of **Android Emulator**\n and click **OK** to install the latest version if it isn't\n already installed.\n\n4. In Android Studio, open the Device Manager by selecting **Tools \\\u003e Device\n Manager** . Click **Create device**.\n\n5. In the **Category** pane, select **Wear OS** and choose a hardware profile.\n Click **Next**.\n\n6. Select a Wear OS 6 system image to download, which is the image with\n **API Level** 36.0 and the **Target** Android 16.0 (\"Baklava\")\n (Wear OS 6.0).\n\n If you don't already have a system image installed\n that matches your device definition, click **Download** next to the\n **Release Name** to get it.\n7. Click **Next** and then click **Finish**.\n\n### Test your app on the emulator\n\nAfter creating the virtual device, run and test your application on a\nemulator that runs Wear OS 6:\n\n1. Go to the Android Studio toolbar and select the virtual device you just created.\n2. Click **Run** .\n\n### Apps available on the emulator\n\nThe following user-space apps are pre-installed onto the official emulator:\n\n- Find My Phone\n- Flashlight\n- Media Controls\n- Phone\n- Play Store\n- Settings\n\nIn addition, the following system apps are available in the emulator:\n\n- Android Accessibility Suite\n- Bluetooth\n- Credential Manager\n- Download Manager\n- Emergency information\n- Google Play services\n- Health Services for Wear OS\n- Speech Recognition and Synthesis from Google\n- Wear Services\n- Wireless Emergency Alerts\n\nUpdate your app to target Wear OS 6\n-----------------------------------\n\nAfter you [update your app](/training/wearables/versions/6/changes) to prepare it for Wear OS 6, you can further\nimprove your app's compatibility with this version of Wear OS by targeting\nWear OS 6 (API level 36), which is based on Android 16, or higher.\n\nIf you update your target SDK version, handle the system behavior changes that\ntake effect for apps that [target Android 16 or higher](/about/versions/16/behavior-changes-16).\n| **Note:** If you publish your Wear OS app to Google Play, you must [target a\n| sufficiently recent version of the platform](https://support.google.com/googleplay/android-developer/answer/11926878). To give yourself time to test your app, it's best to complete this upgrade soon.\n\n### Update your build file\n\nTo update your target SDK version, open your module-level `build.gradle` or\n`build.gradle.kts` file, and update them with the following values for Wear OS 6\n(Android 16): \n\n### Groovy\n\n android {\n compileSdk 36\n ...\n defaultConfig {\n targetSdk 36\n }\n }\n\n### Kotlin\n\n android {\n compileSdk = 36\n ...\n defaultConfig {\n targetSdk = 36\n }\n }"]]