轉載 adb server is out of date. killing...




adb server is out of date. killing...

1:今天調試android的時候發現一個詭異的問題

1
2
3
4
C:\Users\xxxx>adb start-server
adb server is out of date.  killing...
ADB server didn't ACK
* failed to start daemon *

究其源就是adb server沒啓動

到stackoverflow上查了一下 經過分析整理如下:

1
2
C:\Users\xxxx>adb nodaemon server
cannot bind 'tcp:5037'

原來adb server 端口綁定失敗

繼續查看到底是哪個端口給佔用了

1
2
3
4
5
6
C:\Users\xxxxxx>netstat -ano | findstr "5037"
  TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       4628
  TCP    127.0.0.1:5037         127.0.0.1:1085         TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:1086         TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:1096         TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:1097         TIME_WAIT       0

原來被4628這個進程佔用了端口,打開任務管理器,殺掉4628這個進程。(可以在任務管理器菜單,查看->選擇列中勾選(PID)進程標識符)


原文章鏈接  http://blog.csdn.net/id19870510/article/details/8489486




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章