19

I am trying to get debugging over Bluetooth working on my Moto 360. I am following these instructions but when I put in adb forward tcp:4444 localabstract:/adb-hub; adb connect localhost:4444 all that happens is adb runs through its list of available commands again.

In the wear companion app Debugging over Bluetooth is enabled, Host says Disconnected and Target says connected.

On the watch itself ADB debugging is enabled and Debug over Bluetooth is enabled

I also references this article which has a little more information but still nothing

adb see's my phone just never the watch

What am I missing?

4 Answers 4

32

I figured it out, instead of doing adb forward tcp:4444 localabstract:/adb-hub; adb connect localhost:4444 all at once I broke it up into 2 seperate commands

first command

adb forward tcp:4444 localabstract:/adb-hub

second command

adb connect localhost:4444

then the watch asked me to authorize with the computer.

I have never been good with command prompt stuff so I dont know if that was just a noob mistake or what but just in-case anyone else runs into the same problem

4
  • this step: then the watch don't asked me to authorize with the computer.
    – Jimmy Chen
    Commented May 5, 2015 at 12:10
  • When Offline issues happen, try this.. melix.github.io/blog/2014/10/android-moto360.html
    – Ramesh_D
    Commented May 20, 2015 at 8:46
  • this is somewhat outdated, but I thought I add my learning. It doesn't work when concatenated with ; but it did when concatenated with &&. So I created an alias alias moto="adb forward tcp:4444 localabstract:/adb-hub && adb connect localhost:4444" which works well for me. For the difference in ; and && see here
    – Mathias
    Commented Oct 15, 2015 at 21:10
  • Nice solution! Sometimes, the first command complains that it can't connect to the device. This might be because you have Android emulators running, or multiple devices connected. The easiest solution for this is to shutdown the emulator(s) and disconnect all the other ADB-enabled Android devices.
    – Tim Visée
    Commented Feb 28, 2016 at 22:44
12

I had an issue with the accepted answer where upon trying to connect it would return:

"unable to connect to localhost:4444: cannot connect to localhost:4444: No connection could be made because the target machine actively refused it. (10061)"

In this case the solution for me was:

adb forward tcp:4444 localabstract:/adb-hub
adb connect 127.0.0.1:4444
1
  • 1
    adb connect localhost:4444 did not work so tried this with ip address and worked on my Motorola 360
    – Prakash
    Commented Sep 12, 2016 at 23:20
8

Enable Debugging over Bluetooth in Android Wear application on smartphone solved my issue. Thanks for the reference to this article

Enable <code>Debugging over Bluetooth</code> in <code>Android Wear</code> application

0

I had to reset to factory defaults on my wearable and perform these steps again to get it to work. I was switching between two computers.

Not the answer you're looking for? Browse other questions tagged or ask your own question.