您的位置:首页 > 移动开发 > Android开发

Android AVD无法启动问题解决

2012-08-24 12:59 323 查看
1.The connection to adb is down, and a severe error has occured

问题描述:
The connection to adb is down, and a severe error has occured. 
[2012-06-21 12:56:17 - xmobile17] You must restart adb and Eclipse. 
[2012-06-21 12:56:17 - xmobile17] Please ensure that adb is correctly located at 'D
E:\Developer\android-sdk_r18-windows\android-sdk-windows\platform-tools
\adb.exe' and can be executed. 

解决办法:
方法1:cmd中adb kill-server,然后adb -startserver
方法2:方法1不管用,那么在任务管理器中杀死adb.exe,然后重启Eclipse。
方法3:方法1和2都不管用,那么查看最后一句报错中:platform-tools中是否有adb.exe。注意早起的sdk版本adb可能在%ANDROID_HOME%/tools下,我用的这个版本在platform-tools下,但tools下也会有adb_has_moved.txt告知(之前博文也有提及)
方法4:看看你是否安装了豌豆夹这个程序,并设置了允许豌豆夹自动连接到手机的选项,如果是那么在进程中就会有豌豆夹的后台进程,从任务管理器中将豌豆夹的后台进程结束掉,再重启Eclipse就OK了
方法5:如果安装了360,360也有个adb.exe进程,所以eclipse的adb.exe无法启动,导致调试时adb连接不上。先关闭360安全卫士,第一次run,启动adb.exe后,再启动360安全卫士,就不会有问题了。
 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息