android异常之都是deamon惹的祸The connection to adb is down, and a severe error has occured.
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 'F:\android-sdk\platform-tools\adb.exe' and can be executed.
1. 首选确保你的platform-tools下有adb.exe,没有从网上下载一个与adt配套的platform-tools版本。
2. 假如有,把platform-tools假如到path下,在命令行下执行adb kill-server,然后adb start-server。
3. 执行adb get-state
若结果为
C:\Users\Administrator>adb get-state
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
error: unknown host service
则仍然无法执行。
4. 根本原因: 大概是豌豆荚或者91助手的deamon害的。
我在安装豌豆荚之前没有这个问题,安装之后报这个异常。
解决办法: 启动任务管理器,kill掉deamon进程,然后执行第2步。
5. 假如得到此结果,则问题解决。
C:\Users\Administrator>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
|
作者:沙漏哟 出处:计算机的未来在于连接 本文版权归作者和博客园共有,欢迎转载,请留下原文链接 微信随缘扩列,聊创业聊产品,偶尔搞搞技术 |