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 回答1: For me, simply restarting adb solved the problem adb kill-server adb start-server 回答2: You need to change net.hostname property on your device. The easiest way is to use the setprop command via a root shell on the device. setprop net.hostname TypeAnyHostName If this is not working for you, see other solutions here . This is a temporal solution, the problem repeats again some time later. 文章来源: Android ADB connect empty host