eclipse执行android应用控制台报错:
Please ensure that adb is correctly located at 'D:\android-2.2-windows\tools\adb.exe' and can be executed.
* failed to start daemon *
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\tools\adb.exe' and can be executed.
在命令行下(运行 ==> cmd)运行
adb start-server
errors:
* daemon not running. starting it now *
ADB server didn't ACK* failed to start daemon *
确认 adb.exe 路径没有问题。重启模拟器和eclipse还是不行
解决方法:
1 > 方法一
11> 查看任务管理器,关闭所有 adb.exe
12> 重启eclipse即可
2> 方法二
21> 在命令行下运行,
adb kill-server ,如果 adb 关闭了会提示
server not running *
22> 再输入 adb start-server 如果不成功会提示 daemon not running. starting it now on port *** ,而如果成功的话不提示任何语句的
23> 重新打开 eclipse 可以正常运行模拟器