I've been having this problem in eclipse whereby my project builds fine, but when I run the application, eclipse hangs and either freezes or throws up a launch error like below
[2012-11-02 14:17:31 - 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(Unknown Source)
I've also got this error file Picture of error file
I'm not sure how to pinpoint the source of this problem. I'm using android sdk 4.1.2(APK 16) and android ADT 21 (Preview) on eclipse indigo on a windows 64bit machine. I've also installed the latest available drivers for my device, nexus 7
The same issue occurs whether I try to run on a device or on an emulator so I'm a bit lost as to where to start the troubleshooting...