Sunday, December 22, 2024

Join Galaxy Watch to Android Studio over Wi-Fi

Testing your apps on actual gadgets helps you to consider the whole person expertise, which is necessary if the app requires particular {hardware}, corresponding to sensors or a GPU.

For wearable apps, you’ll be able to run your apps from Android Studio and check instantly on a bodily watch, such because the Galaxy Watch4 or later.

This weblog describes arrange Android Studio and your Galaxy Watch, working on Put on OS powered by Samsung, for testing and debugging apps wirelessly over an Android Debug Bridge (ADB) connection.

To attach your watch to Android Studio over Wi-Fi:

  1. Open the Settings menu in your Galaxy Watch.

  2. In Connections > Wi-Fi, join the watch to the identical Wi-Fi community as your laptop.

  3. Subsequent, go to Settings > About watch > Software program Info.

  4. Faucet on Software program model 5 instances to allow Developer Mode.

  5. As soon as the Developer Mode is turned on, open the newly added Developer choices menu in Settings.

  6. Allow the next within the Developer choices display:

    • ADB debugging
    • Flip off automated Wi-Fi
    • Wi-fi debugging

  7. Within the Wi-fi debugging display, click on Pair new gadget.

    ObserveThe Galaxy Watch creates two ports: one for pairing and the opposite for connecting.

  8. In Android Studio, open the Terminal and enter the command to pair the watch along with your laptop:

    adb pair ip_address:pairing_port
    
  9. Enter the Wi-Fi pairing code when prompted.

  10. Then, utilizing the IP handle and the connection port, enter the command to attach the watch:

    adb join ip_address:connection_port
    

Now, you’ll be able to run, check, and debug your wearable apps in your Galaxy Watch instantly over Wi-Fi. You’ll be able to confirm that your gadget is linked by working adb gadgets.

TipTo study extra concerning the course of mentioned on this weblog, watch the video tutorial beneath.

You probably have questions or considerations with the steps offered on this weblog, you’ll be able to share your queries on the Samsung Builders Discussion board. You may as well contact us instantly by means of the Samsung Developer Assist Portal for extra specialised assist.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles