- [2013-07-19 09:32:07 - DeviceMonitor] Adb connection Error:远程主机强迫关闭了一个现有的连接。
- [2013-07-19 09:32:08 - DeviceMonitor] Connection attempts: 1
- [2013-07-19 09:32:10 - DeviceMonitor] Connection attempts: 2
- [2013-07-19 09:32:12 - DeviceMonitor] Connection attempts: 3
- [2013-07-19 09:32:14 - DeviceMonitor] Connection attempts: 4
- [2013-07-19 09:32:16 - DeviceMonitor] Connection attempts: 5
- [2013-07-19 09:32:18 - DeviceMonitor] Connection attempts: 6
- [2013-07-19 09:32:20 - DeviceMonitor] Connection attempts: 7
- [2013-07-19 09:32:22 - DeviceMonitor] Connection attempts: 8
- [2013-07-19 09:32:24 - DeviceMonitor] Connection attempts: 9
- [2013-07-19 09:32:27 - DeviceMonitor] Connection attempts: 10
- [2013-07-19 09:32:29 - DeviceMonitor] Connection attempts: 11
今天打开eclipse真机调试,一直正常,突然Console里一直输出
Adb connection Error:远程主机强迫关闭了一个现有的连接,不能重新运行程序了。后来把eclipse关掉重启控制台还是报错。
后来分析一下报错的结果,应该是adb桥与devices之间失去了连接或者连接不匹配了——导致一直在查找设备连接。
解决方法
结果如图:
这样devices与adb桥之间的连接就正常了。
不行试下:
1.先杀死服务: adb kill-server
2.重新运行adb: adb start-server
还是不行建议重新插拔真机试试,不行再重启开发工具。