Reputation: 572
I've been attempting to debug my android wear app via bluetooth and have been running into a few problems. The main problem is that I'll successfully be running the app and debugging via bluetooth when the connection fails. After the pipe is broken nothing I do seems to get the connection back outside of switching phones. This is obviously not a workable solution, so I was wondering if anyone else had run into any similar problems.
Upvotes: 1
Views: 2631
Reputation: 11555
Debugging over Bluetooth
was always Off
for me. Apparently I had to choose a debugging wearable device here:
Android Wear -> Settings (gear icon) -> Debugging over Bluetooth -> Device to Debug
Then all other comments are helpful too.
Upvotes: 0
Reputation: 10456
After trying all the steps in @Alex Sulivan's answer, I also tried another suggestion from here which was suggested for devs who have previously connected to an emulator.
This didn't work either!
Finally, changing the last adb command to
adb connect 127.0.0.1:4444
did the job.
Having done all of the steps, I don't know how many were required.
Upvotes: 5
Reputation: 572
I've reached some degree of success by re-setting everything and following the developer guide again to setting up bluetooth.
enter adb forwarding commands:
Pray
These steps have mostly worked for me.
Upvotes: 1