今天在向模拟器部署运行项目时碰到下面的异常:
[2012-02-15 13:22:14 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2012-02-15 13:22:14 - Unexpected error while launching logcat. Try reselecting the device.] An existing connection was forcibly closed by the remote host
java.io.IOException: An existing connection was forcibly closed by the remote host
两种解决办法:
1、在命令行下执行如下命令:adb kill-server、adb kill-server
2、在任务管理器中,强制关闭adb.exe,然后重启模拟器