adb server is out of date. killing...

启动eclipse,运行android项目时

adb server is out of date.  killing......
ADB server didn't ACK
* failed to start daemon *
error: unknown host service..

The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at 'D:\Java\adt-bundle-windows-x86-20130917\sdk\platform-tools\adb.exe' and can be executed.、
、、、、、 可能是adb端口被占用,查看adb用的是哪个端口:adb nodaemon server


C:\Users\Administrator>adb nodaemon server  

cannot bind 'tcp:5037'  


查看谁占用了这个端口:netstat -ano | findstr "5037"

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

TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       2612



C:\Users\Administrator>taskkill /F /PID 2612  

成功: 已终止 PID 为 2612 的进程。



wKioL1LKbsaijmQmAAFZSHORO6w628.jpg





你可能感兴趣的:(android,server,failed,cannot,ensure)