SeeTestAutomation - Connecting An Android Wearable Device
info
Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .
info
Android Wear is only supported in non-instrumented mode.
Step 1: Pairing Watch Device with Phone Device.
- On the phone device, download and install the Android Wear application (you can search the play store for "Android Wear"), open the Android Wear application and follow its startup application instruction.
- Enable Bluetooth on your phone device.
- Keep your watch near the phone.
- Select your device watch name in the "Android Wear" application.
- Touch "pair" on your phone.
- Confirm the message in the watch device.
- Touch "Enable Notifications" on your phone.
- To enable debugging over Bluetooth only: on the "Android Wear" application, go to "settings" and enable " Debugging over Bluetooth".
Step 2: Enabling Debugging mode on the watch device.
- Go to "settings".
- Go to "about".
- Tap "Build Number" 7 times.
- Go back to "settings".
- Go to "Developer Options".
- Enable "ADB Debugging".
- To enable debugging over Bluetooth only: enable " Debug over Bluetooth".
Step 3: adb forward.
- When the phone device that you pair with is connected, run adb command: adb forward tcp:4444 localabstract:/adb-hub
- Run adb command: adb connect 127.0.0.1:4444