1

I'm trying to follow https://developer.android.com/training/wearables/apps/creating.html to develop a Wear app. I have a Samsung Gear Live, a Nexus 4 and a Macbook Pro. The Mac detects the Nexus 4 but not the Gear Live (using the same cable). adb doesn't show the Gear Live (but the watch shows a charging icon).

I'm following all the steps in the link above regarding adding a physical device (debugging is enabled in the Android Wear app and the app syncs with the clock perfectly), but when the watch is connected nothing happens (no message on the devices, no device on adb list).

I have seen several threads here but they all refer to Windows and how to install the drivers. Since there are no Mac drivers this should be working out of the box but no luck.

Any google dev knows what the problem might be?

Best

German
  • 10,263
  • 4
  • 40
  • 56

2 Answers2

3

It turns out that the developer features where completly disabled on this commercial (non-Google IO) watch.

You must enable ADB in the watch by enabling the hidden developer settings.

corazza
  • 31,222
  • 37
  • 115
  • 186
German
  • 10,263
  • 4
  • 40
  • 56
  • 1
    My GoogleIO watch didn't have this enabled either. You don't have to unlock the bootloader, but the rest of the linked tutorial is helpful. – Erik B Jul 22 '14 at 00:12
  • 1
    All Android devices from 4.2 onwards have the Developer Options hidden by default. – matiash Jul 22 '14 at 01:10
  • @German, although I followed the instruction on your link, the last screen (Allow Wear Debugging) didn't appear, and when I ran 'adb devices' I don't see the wear, did you see it in the list? – EyeQ Tech Jul 26 '14 at 07:13
  • I'm assuming you're trying to wok with a real Wear device rather than emulator. Have you paired the Wear and the Android Wear app on the phone correctly? Have you enabled bluetooth debugging on the Android Wear app on the phone? Have you enabled the developer options on the Wear (tap 7 times on Build number) and the enabled adb debugging and bluetooth debugging? – German Jul 26 '14 at 20:54
2

I have a similar setup. Here is what worked for me:

Enable adb debugging in the developer options on your watch. Enable bluetooth debugging in the developer options on your watch. Enable bluetooth debugging in the wear app on your phone.

run in terminal: adb forward tcp:4444 localabstract:/adb-hub; adb connect localhost:4444

http://developer.android.com/training/wearables/apps/bt-debugging.html

I think I also had luck with using the cradle plugged directly into the computer, but unable to confirm that now.

Erik B
  • 2,810
  • 1
  • 34
  • 38