根本原因是因为你的机器上5037端口被某个进程占用了,此时不但android设备无法使用adb连接,ios设备也不能用iTunes连接。
可以查询到占用5037端口的进程并关闭它,netstat /a /o 也许可以帮助你。
要windows7上,LogsAndAlerts服务会占用5037端口。
The fundamental reason is because the 5037 port on your machine to be occupied by a process, not only Android devices can not use adb connection ios device not use iTunes.
Can query process and close it, netstat / a / o maybe can help you to take up to 5037 ports.
To windows7 the LogsAndAlerts service will occupy port 5037.