android – Debugging on Moto 360-ThrowExceptions

Exception or error:

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?

How to solve:

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

###

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

###

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

###

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.

Leave a Reply

Your email address will not be published. Required fields are marked *