I\'m playing with Raspberry Pi 3 Model B and Android Things. I was able to configure everything (connect Pi over Ethernet, then reconnect
How to debug Android Things device over USB?
Briefly: you can't do it with Raspberry Pi.
Let's look at the pin specification of Raspberry Pi micro USB (J1):
where
So summing up the above said: no data pin connection - no adb
. You can only power your RPi over micro USB.
Any chance to have direct debugging over USB cable just like any other Android device like smartphone/tablet?
Use another board. In fact, any board that has USB OTG and is supported by Android Things would allow debugging over USB, just as a "regular" smartphone/tablet.
And ironically, by the time of this writing, all the supported hardware platforms would fit except for Raspberry Pi :)