I have a Intel Edison running Android Things. I was able to adb fine 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
I then disconnected my device from the usb cable and rebooted it. When I try to connect to my device via:
adb connect 10.0.0.20
I get the following error:
unable to connect to 10.0.0.20:5555: Connection refused
I do see the device on the network, just that I am not able to connect to it. When I connect the device via usb again, I am unable to connect via usb either since it doesn't show up in the adb device list.
adb devices
List of devices attached
<no devices listed>
Two questions:
- How can I flip the device back to being debuggable via USB?
- How do I correctly setup adb over tcp/ip?