Error quot;AdbCommandRejectedException: device not foundquot; in Eclipse using Android emulator(错误“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.
这篇关于错误“AdbCommandRejectedException:找不到设备"在 Eclipse 中使用 Android 模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:错误“AdbCommandRejectedException:找不到设备"在 Eclipse 中使用 Android 模拟器
基础教程推荐
- RabbitMQ:消息保持“未确认"; 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
