Eclipse、adb 和 ddms 未检测到 Android 模拟器

Eclipse, adb, and ddms not detecting Android Emulator(Eclipse、adb 和 ddms 未检测到 Android 模拟器)
本文介绍了Eclipse、adb 和 ddms 未检测到 Android 模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想尝试编写android设备,所以我按照android网站的指示安装了sdk、java sdk和eclipse.我的电脑是 Windows 7 64 位,但我安装了 32 位 Java SDK 和 Eclipse,因为听说 64 位版本存在问题.

I wanted to try my hand at programming android devices, so I followed the directions from the android website, installed the sdk, the java sdk, and eclipse. My computer is Windows 7 64-Bit, but I have the 32-bit Java SDK and Eclipse installed since hearing that there are issues with the 64-bit versions.

我正在运行最新版本的 Android sdk,4.0 R15.

I am running the most recent version of the Android sdk, 4.0 R15.

我相信遵循了所有的安装说明,但是当我加载一个示例(在这种情况下为 Lunar Lander)时,它会加载模拟器,但不会将应用程序安装到它.当我使用adb devices"时,ADB 没有显示列出的模拟器,eclipse 中的 DDMS 透视图也没有检测到任何设备.在模拟器中,我已经激活了开发人员区域中的 USB 调试设置.

I believe followed all of the instructions for installation, but when I load up a sample (Lunar Lander in this case), it loads the emulator, but will not install the app to it. ADB does not show the emulator listed when I use "adb devices", the DDMS perspective in eclipse does not detect any device either. In the emulator I have activated the USB debug setting in the developer area.

我试过重启adb服务器,重装了几次.

I have tried restarting the adb server, and have reinstalled a few times.

我什至抄袭了一个人在 youtube 教程中为 hello world 程序所做的事情,但它仍然无法加载到设备上.

I even copied what one guy did on a youtube tutorial for a hello world program, and it still would not load to the device.

有人知道如何让模拟器和 Eclipse 对话,这样我就可以实际运行和调试程序了吗?

Does anybody have any idea how to get the emulator and eclipse talking so I can actually run and debug programs?

推荐答案

尝试adb kill-server,然后执行类似adb devices的adb命令,会再次启动adb.

Try to adb kill-server and then do adb command like adb devices which will start adb again.

这对我有帮助.

这篇关于Eclipse、adb 和 ddms 未检测到 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))