Search code examples
androidandroid-wear-2.0

Android wear : cannot connect watch over wifi or bluetooth


I am trying to connect android watch with my computer over wifi and bluetooth . I want to nstall the wearable apk on my moto 360 as I am developing watch app. In both cases after the command

adb devices

it only displays my connected android phone, and no watch.

For wifi

  1. I connect my laptop and android watch in same network.
  2. Go to settings in watch.
  3. Developer options
  4. Enable debugging overwifi.
  5. Note down the address.
  6. adb connect 192.168.0.*
  7. adb shows connected and my port.
  8. Then do command adb devices
  9. It won't show anything, same with case of bluetooth.

Am I missing out on something ?

Thanks.


Solution

  • My watch takes some time to ask the option of whether I want to connect the watch from my computer after the above steps, it doesn't happen immediately, and hence I was missing it. Got it running now.