错误“AdbCommandRejectedException:找不到设备"在 Eclipse 中使用 Android 模拟器
我曾尝试更改应用程序的构建,但现在 eclipse 不起作用.
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.
我刚收到这条消息:
[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)
推荐答案
尝试adb kill-server
和adb start-server
重启adb.它可以在您的 android sdk 目录下的子文件夹 plattform-tools
中找到.
Try adb kill-server
and adb start-server
to restart the adb. It can be found in your android sdk directory, subfolder plattform-tools
.
相关文章