- 问题描述:在eclipse运行android项目时出现以下信息:
[plain] view plaincopy
The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse. - 配置adb环境变量:http://jingyan.baidu.com/article/17bd8e52f514d985ab2bb800.html
- cmd打开DOS窗口:
查看adb状态:
[plain] view plaincopy
adb get-state
杀掉adb服务:
[plain] view plaincopy
adb kill-server
开启adb服务:
[plain] view plaincopy
adb start-server
信息如下:
[plain] view plaincopy
- daemon not running. starting it now on port 5037 *
- daemon started successfully *
- 重启eclipse, 运行你的android项目, 如果没出意外的话, 问题应该可以解决了。OK, Enjoy it!!!