1. Home
  2. Knowledge Base
  3. AstroFarm
  4. How to enroll a WearOS device in AstroFarm

How to enroll a WearOS device in AstroFarm

Contributors with Host machines can add devices to AstroFarm, where users from all over the world can use them to test or build apps or debug device problems. Users have better access to the devices to troubleshoot because they are physically connected to the host PC via ADB. Admins can enroll WearOS in the AstroFarm to remotely test and debug problems.


The purpose of this article is to provide a guide on how to enroll a WearOS device in AstroFarm.


  • Install and set up ADB (the Android Debug Bridge Utility) on the host machine, from which devices will be enrolled in AstroFarm.


Step 1 : Developer Options and USB Debugging On Smartwatch (WearOS)

Enabling USB debugging on the device is one of the prerequisites.

Follow the below-mentioned steps to enable USB debugging on devices.

  1. On your Smartwatch, go to the Settings menu.
  2. Scroll down and tap System.
  3. Tap About.
  1. Repeatedly tap Build Number until you see a message confirming, “You are now a developer.”

Step 2 : Activate ADB debugging

  1. Go to your Smartwatch’s Settings.
  2. Tap Developer Options.
  3. Turn on ADB debugging.
  4. Turn on Debug over Wi-Fi.
  5. This may trigger a prompt on your watch. Accept ADB debugging before continuing.

Step 3: Connect to the watch

Turn off or disable Bluetooth on your phone before connecting it to your watch. then carry on with the subsequent actions.

Step 4: Connect the Smartwatch using a wired connection.

It’s best to connect using a cable because it’s easy and stable.

  1. The charging and data cables should be plugged into your host machine and connected to your watch.
  2. A prompt asking if you wish to allow debugging may appear. Select Always allow debugging on this computer to make things simpler.
  3. Enter the following command into your command prompt on Windows: adb devices.
  4. Enter the following command into your terminal on Mac: ./adb devices.
  5. The list contains the serial number of your watch. If it doesn’t appear, try unplugging and replugging the cable and looking for a prompt to enable debugging on the watch’s screen.

Step 5: Connect the smartwatch wirelessly

  1. Connect your Host machine to the same network as your smartwatch to establish a Wi-Fi connection. Next, make a note of the IP address for your watch, which can be found under Settings > Developer Settings > Debug over Wi-Fi.
  1. Enter the following command into your terminal or command window, where [IP Address] is the IP address displayed in the Developer Settings menu as displayed above: connect adb [IP Address]
  2. On a Mac device, Enter the following command in the terminal: The IP address is the same as the one displayed in the Developer Settings menu as displayed above: ./adb connect [IP Address] 
  3. Accept the prompt on the smartwatch. Always allow debugging from this computer to continue the process.
  4. The Smartwatch/WearOS will be enrolled in the AstroFarm.

The users can start with their testing, building apps, or debugging.

Need more help? Here’s how to get help from our experts. 


Was this helpful?
Updated on July 2023