1.运行eclipse执行android应用,控制台报错:
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 ‘E:\setups\android\android-2.1_r01-windows\tools\adb.exe‘ and can be executed.
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 ‘E:\setups\android\android-2.1_r01-windows\tools\adb.exe‘ and can be executed.
在网上查了一些帖子,都是结束adb.exe进程,无奈,进程列表里根本没有这个进程。
解决办法:这个问题是是adb.exe无法运行导致的,而导致无法运行很可能是端口被占用。进入cmd查看端口。
这时看到pid为4540
OK,找到进程,结束进程解决。