阅读更多
用数据线连接android手机到pc,却在eclipse中Device view中未发现设备信息。提示错误信息如下:
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
确认手机上的usb调试已打开,adb kill-server,adb start-server 还是未能解决。
stackoverflow上搜索一番得到解决办法如下
C:\Documents and Settings\Administrator>adb nodaemon server
cannot bind 'tcp:5037'
C:\Documents and Settings\Administrator>netstat -aon | findstr "5037"
TCP 127.0.0.1:1130 127.0.0.1:5037 TIME_WAIT 0
TCP 127.0.0.1:1269 127.0.0.1:5037 TIME_WAIT 0
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 3088
TCP 127.0.0.1:5037 127.0.0.1:1128 TIME_WAIT 0
TCP 127.0.0.1:5037 127.0.0.1:1129 TIME_WAIT 0
TCP 127.0.0.1:5037 127.0.0.1:1270 TIME_WAIT 0
C:\Documents and Settings\Administrator>tasklist -fi "pid eq 3088"
图像名 PID 会话名 会话# 内存使用
========================= ====== ================ ======== ============
adb.exe 3088 Console 0 3,816 K
C:\Documents and Settings\Administrator>taskkill /f /pid 3088
成功: 已终止 PID 为 3088 的进程。
C:\Documents and Settings\Administrator>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *