Search code examples
androidadbhostname

Android ADB connect empty host name


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

adb connect <device ip>

I get error

empty hostname

Solution

  • For me, simply restarting adb solved the problem

    adb kill-server
    adb start-server