您的位置:首页 > 移动开发 > Android开发

Android failed to start daemon

2013-10-31 11:03 281 查看
异常描述:在Eclipse中运行Android项目时Console中出现:

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:\android-2.2-windows\platform-tools\adb.exe' and can be executed.


之前遇到这个问题时我首先重启eclipse,然后问题得到解决,但是今天即使重启了eclipse还是会出现这样的问题,之后又重启了一下计算机,但是还是会出现这个问题。

之后我用cmd切换到adb目录下,使用 adb kill-server adb是能够杀死的,但是用adb start-server时却出现了异常,如下所示

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


解决办法:

1.打开任务管理器,关闭所有的adb.exe

2.重启eclipse,运行android的程序

到此问题解决了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐