现在的位置: 首页 > 综合 > 正文

ADB server didn’t ACK * failed to start daemon * 解决方法

2013年12月06日 ⁄ 综合 ⁄ 共 986字 ⁄ 字号 评论关闭

 Android开发过程中可能由于某种原因导致adb server不能使用,在eclipse中会提示需要重启eclipse和adb server。

         在eclipse启动的情况下,先去重启adb server会遇到以下提示:

                                “adb server is out of date. killing....

                                ADB server didn't ACK

                                * failed to start daemon * ”

         打开控制台仍然可以看到adb.exe的存在,而且关闭不掉。其实只要eclipse打开着,ADT插件会自动去找adb server,如果server被关闭,ADT会重启它。因此正确的操作是:

  • 关闭eclipse
  • 打开命令行,输入adb reboot
  • 启动eclipse

之前运行eclipse执行android应用都没问题,今天突然出问题了,控制台报错:

 

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 'E:/setups/android/android-2.1_r01-windows/tools/adb.exe' and can be executed.

 

 在命令行下运行 adb start-server

errors:

* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *

 

 

已经确认adb.exe的路径没有问题,重启了两次模拟器和eclipse还是不行,上网查了下资料~

 

解决办法:

(1)查看任务管理器,关闭所有adb.exe(sam注:在任务管理器中,有时线程名称是tadb或adb)

(2)重启eclipse即可

http://blog.csdn.net/ocean_helen/article/details/5885481

抱歉!评论已关闭.