adb问题

在启动Eclipse后准备在模拟器上运行APP程序报adb错误
[2013-04-08 10:55:33 - adb] ADB server didn't ACK
[2013-04-08 10:55:33 - adb] * failed to start daemon *
上网总结解决:
1.关闭Eclipse;
2.在doc命令下执行:
D:\fatedgar_program\adt-bundle-windows-x86_64\sdk\platform-tools>adb kill-server

* server not running *

关闭adb后在启动adb
【注意路径,adb.exe是在D:\fatedgar_program\adt-bundle-windows-x86_64\sdk\platform-tools这个路径下的】
如果出现下面的错误
D:\fatedgar_program\adt-bundle-windows-x86_64\sdk\platform-tools>adb start-server

adb server is out of date.  killing...
ADB server didn't ACK
* failed to start daemon *

解决方法:
先查看adb的端口号;
D:\fatedgar_program\adt-bundle-windows-x86_64\sdk\platform-tools>adb nodaemon se
rver
cannot bind 'tcp:5037'

在看看是谁占用了这个端口号
D:\fatedgar_program\adt-bundle-windows-x86_64\sdk\platform-tools>netstat -ano |
findstr "5037"
  TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       1572


打开任务管理器后,查看-选择列-PID-确定;
在查找到PID是1572的进程再结束进程。

这样后在执行就可以成功了
D:\fatedgar_program\adt-bundle-windows-x86_64\sdk\platform-tools>adb start-serve
r
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

猜你喜欢

转载自fatedgar.iteye.com/blog/1843631
adb