错误“AdbCommandRejectedException:找不到设备"在 Eclipse 中使用 Android 模拟器 [英] Error "AdbCommandRejectedException: device not found" in Eclipse using Android emulator

查看:37
本文介绍了错误“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-serveradb 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.

这篇关于错误“AdbCommandRejectedException:找不到设备"在 Eclipse 中使用 Android 模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆