Is this possible to debug wear device over USB, not Bluetooth? By Bluetooth it is possible, but when i'm connecting watch to PC via USB, in adb i have:
adb devices
List of devices attached
???????????? no permissions
Is this possible to debug wear device over USB, not Bluetooth? By Bluetooth it is possible, but when i'm connecting watch to PC via USB, in adb i have:
adb devices
List of devices attached
???????????? no permissions
I use Ubuntu 14.10 as OS and had to run these steps to get my Wear recognized (source: http://developer.android.com/tools/device.html, under step 3):
SUBSYSTEM=="usb", ATTR{idVendor}=="????", MODE="0666", GROUP="plugdev"
EDIT:
here is a complete 51-android.rules
file to allow any kind of android device
Restart ADB with root privileges.
sudo killall adb
sudo adb
You need to allow ADB debugging in Developer options on Wear device, and after you connect watch-PC by USB you will be prompted on the phone to "allow USB debugging for particular PC", you click yes and your smartwatch should be visible on adb list, also you should see log and be able to deploy apps right away - just as any phone in debugging mode.