Eclipse中创建Android小项目时,出现报错信息:
[2012-12-06 07:52:33 - Sample_11_3] ------------------------------
[2012-12-06 07:52:33 - Sample_11_3] Android Launch!
[2012-12-06 07:52:33 - Sample_11_3] The connection to adb is down, and a severe error has occured.
[2012-12-06 07:52:33 - Sample_11_3] You must restart adb and Eclipse.
[2012-12-06 07:52:33 - Sample_11_3] Please ensure that adb is correctly located at 'D:\Program Files (x86)\android-sdk-windows-1.6_r1\platform-tools\adb.exe' and can be executed.
adb路径是对的,而且也试过adb-kill server和adb-start server,依旧出现这样的报错信息。
要怎么解决这个问题?
我也经常遇到这样的问题,。。。一般都重启好几次才正常了,,,,
我也重启好几次啦,可是并没有什么用
关闭eclipse,然后重启
adb重启下应该就好了
参考“The connection to adb is down, and a severe error has occured.”
可能情况和解决方法很多种,你可以首先试一下把'D:\Program Files (x86)\android-sdk-windows-1.6_r1\platform-tools\"加入到Windows的环境变量里面
这种情况一般都是重启ADB
用电脑的时候不要同时开别的可以连接手机的程序,尤其是使用真机测试,往往手机一插上比如xx手机助手这一类软件或者听音乐的等等,它们都会使用adb.exe程序去自动连接手机。其次,在运行app前看一下程序管理器里面有没有adb.exe这个是不是已经启动了,如果启动了在里面关掉,这个时候再启动就不会报错了。