In Android Studio, fai clic su Strumenti > SDK Manager.
Nella scheda Strumenti SDK, seleziona l'ultima versione di Android Emulator
e fai clic su Ok per installare l'ultima versione se non è
già installata.
In Android Studio, apri Device Manager selezionando Strumenti > Device
Manager. Fai clic su Crea dispositivo.
Nel riquadro Categoria, seleziona Wear OS e scegli un profilo hardware.
Fai clic su Avanti.
Seleziona un'immagine di sistema Wear OS 6 da scaricare, ovvero l'immagine con
livello API 36.0 e target Android 16.0 ("Baklava")
(Wear OS 6.0).
Se non hai già installato un'immagine di sistema
che corrisponda alla definizione del tuo dispositivo, fai clic su Download accanto al
nome della release per scaricarla.
Fai clic su Avanti e poi su Fine.
Testare l'app sull'emulatore
Dopo aver creato il dispositivo virtuale, esegui e testa l'applicazione su un
emulatore che esegue Wear OS 6:
Vai alla barra degli strumenti di Android Studio e seleziona il dispositivo virtuale che hai appena
creato.
Fai clic su Esegui.
App disponibili sull'emulatore
Le seguenti app per lo spazio utente sono preinstallate nell'emulatore ufficiale:
Trova il mio smartphone
Torcia
Controlli multimediali
Telefono
Play Store
Impostazioni
Inoltre, nell'emulatore sono disponibili le seguenti app di sistema:
Accessibilità di Android
Bluetooth
Gestore delle credenziali
Gestione download
Informazioni d'emergenza
Google Play Services
Servizi per la salute per Wear OS
Riconoscimento e sintesi vocale di Google
Servizi di Wear
Avvisi di emergenza wireless
Aggiorna l'app in modo che abbia come target Wear OS 6
Dopo aver aggiornato l'app per prepararla a Wear OS 6, puoi migliorare ulteriormente la compatibilità dell'app con questa versione di Wear OS scegliendo come target Wear OS 6 (livello API 36), basato su Android 16 o versioni successive.
Per aggiornare la versione dell'SDK target, apri il file build.gradle o
build.gradle.kts a livello di modulo e aggiornali con i seguenti valori per Wear OS 6
(Android 16):
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[null,null,["Ultimo aggiornamento 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 }"]]