Android 解決adb server is out of date. killing... ADB server didn't ACK * failed to star

原文地址爲:Android 解決adb server is out of date. killing... ADB server didn't ACK * failed to star

The connection to adb is down, and a severe error has occured.
[2010-03-11 09:36:56 - HelloOPone] You must restart adb and Eclipse.
[2010-03-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located at 'D:\OPhoneSDK_1.5
\platform-tools\adb.exe' and can be executed.
解決:
方法1.cmd中adb kill-server,然後adb -startserver
方法2.方法1不管用,那麼在任務管理器中殺死adb.exe,然後重啓Eclipse。
方法3.方法1和2都不管用,那麼查看最後一句報錯中:platform-tools中是否有adb.exe(我的錯誤就是在相關路徑下面沒有platform-tools文件夾
,所以我選擇新建一個文件夾,並且把tools中的文件全部複製到platform-tools中)

如果執行adb start-server 的時候報錯:
adb server is out of date. killing...

ADB server didn't ACK *

failed to star

出現這個問題的根本原因是adb sever沒有啓動

執行adb kill-server

然後adb start-server 如果出現上面的錯誤一般是下面的原因造成的:

   1、 開啓了豌豆莢軟件--->將豌豆莢kill掉就可以了

  2、如果還是不行有可能是360或者其他軟件將5037端口占據

 

1、執行命令查看是否端口被佔用:

C:\Users\xxxxxx>netstat -ano | findstr "5037" 

 

2、者執行tasklist查看進程:

C:\Users\Administrator>tasklist

映像名稱                       PID 會話名              會話#       內存使用
========================= ======== ================ =========== ============
System Idle Process              0 Services                   0         24 K
System                           4 Services                   0         44 K
smss.exe                       256 Services                   0         64 K
csrss.exe                      428 Services                   0      2,192 K
wininit.exe                    488 Services                   0        192 K
csrss.exe                      496 Console                    1     52,020 K
services.exe                   536 Services                   0      3,448 K
lsass.exe                      552 Services                   0      4,756 K
lsm.exe                        560 Services                   0      1,432 K
winlogon.exe                   656 Console                    1      1,528 K
svchost.exe                    700 Services                   0      4,176 K

 

 

3、執行命令taskkill殺掉進程:

taskkill /pid xxx

 

 

4、再次查看 查看是否有軟件佔了5037端口,如有在任務管理器裏面殺掉該進程.

5、重啓eclipse


轉載請註明本文地址:Android 解決adb server is out of date. killing... ADB server didn't ACK * failed to star
發佈了0 篇原創文章 · 獲贊 0 · 訪問量 1萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章