adb server is out of date. killing...

 由於 qq 自做多情的搞了個 androidassist 

adb server is out of date. killing...

分類:  Android2013-01-10 13:09 23678人閱讀  評論(38)  收藏  舉報

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

[html]  view plain copy
  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 plain copy
  1. adb server is out of date.  killing...  
究其源就是adb server沒啓動

到stackoverflow上查了一下 通過分析整理以下: android

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

繼續查看究竟是哪一個端口給佔用了 shell


Dos command: netstat -ano | find /i "5037"  tcp

ntsd -c q -p PID

  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 spa

相關文章
相關標籤/搜索