adb server is out of date. killing...的問題

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

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

adb 不管執行 shell devices 還是logcat 都會報錯

[html] view plaincopy
  1. adb server is out of date.  killing...  
究其源就是adb server沒啓動

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

[html] view plaincopy
  1. C:\Users\xxxx>adb nodaemon server  
  2. cannot bind 'tcp:5037'  
原來adb server 端口綁定失敗

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

[html] view plaincopy
  1. C:\Users\xxxxxx>netstat -ano | findstr "5037"  
  2.   TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       4236  
  3.   TCP    127.0.0.1:5037         127.0.0.1:49422        ESTABLISHED     4236  
  4.   TCP    127.0.0.1:49422        127.0.0.1:5037         ESTABLISHED     3840  

打開任務管理器kill掉4236 這個進程。ok


至此問題解決了


來源:http://blog.csdn.net/id19870510/article/details/8489486

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