错误“AdbCommandRejectedException:找不到设备"在 Eclipse 中使用 Android 模拟器

Error quot;AdbCommandRejectedException: device not foundquot; in Eclipse using Android emulator(错误“AdbCommandRejectedException:找不到设备在 Eclipse 中使用 Android 模拟器)
本文介绍了错误“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 模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

VertX 3.9.7 when i receive the form quot;throw exceptionquot; Size exceed allowed maximum capacityquot;(VertX 3.9.7收到表单时抛出异常SIZE超出允许的最大容量QUOT;)
Android This feature requires ASM7(Android此功能需要ASM7)
JDK11 Upgrade Fails - ClassNotFoundException jdk.internal.ref.Cleaner(JDK11升级失败-ClassNotFoundException jdk.inder.ref.Cleaner)
How to make Eclipse compile patched modules on JDK 9+ by passing the --patch-module javac option to my project compiler? (see pic)(如何通过向我的项目编译器传递--patch-MODULE javac选项,让Eclipse在JDK 9+上编译打了补丁的模块?(见图))
JavaFX Modular Application, java.lang.module.FindException: Module javafx.controls not found (Java 11, Intellij)(JavaFX模块化应用程序,java.lang.mode.FindException:未找到模块javafx.Controls(Java 11,IntelliJ))
Cannot resolve symbol Theme.MaterialComponents.Light.NoActionBar (Android Studio)(无法解析符号Theme.MaterialComponents.Light.NoActionBar(Android Studio))