版本不一致
TIM截图20180823090617.pngadb server version (31) doesn't match this client (40); killing...
could not read ok from ADB Server
- failed to start daemon
error: cannot connect to daemon
解决办法 将更新之前的adb 文件 替换platform-tools 文件夹下的adb
如果还无法启动
DOS 下 查看 5073 端口 是否被占用
netstat -ano | findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 8692
TCP 127.0.0.1:5037 127.0.0.1:54067 TIME_WAIT 0
TCP 127.0.0.1:5037 127.0.0.1:54107 TIME_WAIT 0
TCP 127.0.0.1:54021 127.0.0.1:5037 TIME_WAIT 0
TCP 127.0.0.1:54062 127.0.0.1:5037 TIME_WAIT 0
TCP 127.0.0.1:54063 127.0.0.1:5037 TIME_WAIT 0
TCP 127.0.0.1:54064 127.0.0.1:5037 TIME_WAIT 0
TCP 127.0.0.1:54094 127.0.0.1:5037 TIME_WAIT 0
TCP 127.0.0.1:54095 127.0.0.1:5037 TIME_WAIT 0
TCP 127.0.0.1:54096 127.0.0.1:5037 TIME_WAIT 0
TCP 127.0.0.1:54104 127.0.0.1:5037 TIME_WAIT 0
TCP 127.0.0.1:54105 127.0.0.1:5037 TIME_WAIT 0
TCP 127.0.0.1:54106 127.0.0.1:5037 TIME_WAIT 0
发现 5037
端口被 Pid 8692 占用
- 查看 8692 为何物
tasklist /fi "pid eq 8692"
映像名称 PID 会话名 会话# 内存使用
========================= ======== ================ =========== ============
360MobileLink.exe 8692 Console 1 33,248 K
结束掉这个进程 就ok了
再次启动 adb
// 开启
adb start-server
// 结束
adb kill-server
网友评论