Tsunaze Tsunaze - 1 year ago 188
Android Question

Error "AdbCommandRejectedException: device not found" in Eclipse using Android emulator

I've tried to change the build of an application, and now eclipse doesn't work.

There is nothing in the console, and when I launch the debug, there is nothing on the log.

I just got this message :

[2011-03-31 11:22:58 - Logcat]device not found
com.android.ddmlib.AdbCommandRejectedException: device not found
at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:736)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:373)
at com.android.ddmlib.Device.executeShellCommand(Device.java:284)
at com.android.ddmuilib.logcat.LogPanel$3.run(LogPanel.java:527)

Answer Source

Try adb kill-server and adb start-server to restart the adb. It can be found in your android sdk directory, subfolder plattform-tools.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download