Android ADB connect empty host name

naXa picture naXa · Jun 25, 2015 · Viewed 7.2k times · Source

I use ADB over WiFi to connect to an Android device. When I type

adb connect <device ip>

I get error

empty hostname

Answer

Varun Garg picture Varun Garg · Dec 14, 2015

For me, simply restarting adb solved the problem

adb kill-server
adb start-server