打开ADT时控制台显示错误是:
- 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.
[2011-10-07 09:47:09 - tourism] You must restart adb and Eclipse.
[2011-10-07 09:47:09 - tourism] Please ensure that adb is correctly located at 'E:\androidSDK\2.2\android-sdk-windows\platform-tools\adb.exe' and can be executed.
解决方法:
(1)查看任务管理器,关闭所有adb.exe以及后缀是adb.exe的进程
(2)重启eclipse即可
(另外:引起这个问题的很多时候是打开了手机助手:豌豆荚、360手机助手、腾讯手机助手等,将其关闭即可)