During the development of the Android Wear application, both the watch and the phone need to be operated simultaneously, and the phone and watch can be operated simultaneously via Bluetooth.
1 turn on the watch and phone's debug settings
Turn on USB debugging for your phone
Open the developer option for the Watch settings, check debug over Bluetooth if it is the first time to use the watch debug, need to find about in setting, click 7 times Open Developer options
2 connecting watches to Development tools
Open the Android Wear App on the phone, go to setting, check debugging over Bluetooth, and you will find that the current status is
<span style= "White-space:pre" ></span>host:disconnected<span style= "White-space:pre" ></span >target:connected
Open cmd and type the following command in turn
<span style= "White-space:pre" ></span> adb forward tcp:4444 Localabstract:/adb-hub
<span style= "White-space:pre" ></span> ADB connect localhost:4444
See Status
<span style= "White-space:pre" ></span>host:connected<span style= "White-space:pre" ></span> target:connected
is a success.
Simultaneous operation of mobile phones and watch devices using Bluetooth debugging in Android Wear development