I have Intel Edison running Android Things. I was able to adb paste into the device using usb. I wanted to switch to using adb over tcp / ip. So I ran the following command.
adb tcpip 5555
adb kill-server
Then I disconnected my device from the USB cable and rebooted it. When I try to connect to my device through:
adb connect 10.0.0.20
I get the following error:
unable to connect to 10.0.0.20:5555: Connection refused
I see the device on the network, I just can’t connect to it. When I reconnect the device via usb, I can’t connect via usb, since it does not appear in the list of adb devices.
adb devices
List of devices attached
<no devices listed>
Two questions:
- How can I flip the device back to USB debugging?
- How to configure adb via tcp / ip?