Unexpected error while launching logcat. Try reselecting the device.

运行时显示的异常:

[2013-07-13 15:17:59 - Unexpected error while launching logcat. Try reselecting the device.] device not found
com.android.ddmlib.AdbCommandRejectedException: device not found
 at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:752)
 at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:373)
 at com.android.ddmlib.Device.executeShellCommand(Device.java:462)
 at com.android.ddmuilib.logcat.LogCatReceiver$1.run(LogCatReceiver.java:110)
 at java.lang.Thread.run(Thread.java:722)

两种解决办法:
1、在命令行下执行如下命令:adb kill-server、adb kill-server(未测试)
2、在任务管理器中,强制关闭adb.exe,然后重启模拟器(亲测可用)

你可能感兴趣的:(Unexpected error while launching logcat. Try reselecting the device.)