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)