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.
[-- :: - HelloOPone] You must restart adb and Eclipse.
[-- :: - 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 "" 

2、者执行tasklist查看进程:

C:\Users\Administrator>tasklist

映像名称                       PID 会话名              会话#       内存使用
========================= ======== ================ =========== ============
System Idle Process Services K
System Services K
smss.exe Services K
csrss.exe Services , K
wininit.exe Services K
csrss.exe Console , K
services.exe Services , K
lsass.exe Services , K
lsm.exe Services , K
winlogon.exe Console , K
svchost.exe Services , K

3、执行命令taskkill杀掉进程:

taskkill /pid xxx

4、再次查看 查看是否有软件占了5037端口,如有在任务管理器里面杀掉该进程.

5、重启eclipse

上一篇:linux 下部署web 程序


下一篇:解决ADB server didn't ACK问题,连上手机问题