ADB server didn't ACK 问题解决办法汇总

来源:互联网 发布:阿里云服务器图形界面 编辑:程序博客网 时间:2024/04/30 05:36
1.报错:The connection to adb is down, and a severe error has occured.解决:cmd跳到sdk tools文件路径下adb kill-server然后再adb start-server2.报错:The connection to adb is down, and a severe error has occured.[2010-03-11 09:36:56 - HelloOPone] You must restart adb and Eclipse.[2010-03-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located at 'D:\OPhoneSDK_1.5\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(我的错误就是在相关路径下面没有platform-tools文件夹,所以我选择新建一个文件夹,并且把tools中的文件全部复制到platform-tools中)3.前面的方法试了还是不行的话,建议重新装一个系统,最好换个系统。
另一种解决方法:
1. 关闭ipv6或设置ipv4偏好,具体为:在“设备管理器”,显示隐藏设备,禁用“Teredo”开头的一个网络设备;在eclipse.ini文件最后增加(最后一行的参数)
 
-Djava.net.preferIPv4Stack=true
2.关闭虚拟网卡(VMware、VirtualBox等创建的虚拟网络适配器);
3.关闭Windows防火墙;
我的先做了1,2两步,都没有成功,迫不得已做了第3步,结果问题解决了,ddms启动了,logcat滚动了。但是关闭防火墙终究不放心,再启动防火墙,问题却没有复现,百思不得其解。
问题先记录下来,以便以后再遇到时来按步骤解决。
0 0
原创粉丝点击