ADT插件中的android模拟器未运行

android emulator in ADT plugin not running(ADT插件中的android模拟器未运行)
本文介绍了ADT插件中的android模拟器未运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Eclipse ADT 插件进行 android 开发.我遇到了一些问题,我删除了所有现有的 emulators 并创建了一个新的.当我运行一个 android 项目并启动 emulator 时,它甚至在启动 Android os 之前就弹出并冻结了黑屏.

I'm using Eclipse ADT plugin for android development. I came across some problems and I remove all my existing emulators and create a new one. when I run an android project and start the emulator, it just pop up and freezes with a black screen even before it start Android os.

进度标签显示,此时没有要显示的操作.logcat显示I/ServiceManager(270): 一遍遍等待服务SurfaceFlinger....控制台显示

[2013-12-02 14:54:03 - Emulator] emulator: warning: opening audio input failed
[2013-12-02 14:54:03 - Emulator] 
[2013-12-02 14:54:04 - AndroidV4Virtusel] New emulator found: emulator-5554
[2013-12-02 14:54:04 - AndroidV4Virtusel] Waiting for HOME ('android.process.acore') to be launched...

模拟器从未启动.尽管我重新启动了 IDE,但没有 rusalt.

But the emulator never launched. No rusalt although I restart the IDE.

当我使用 DDMS 视角重新启动 adb 时,它会出现以下错误.

when I restart the adb using DDMS perspective it gives following error.

[2013-12-02 15:22:50 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2013-12-02 15:22:51 - DeviceMonitor] Connection attempts: 1

avd 管理器 还将 emulator 显示为有效的emulator

The avd manager also shows the emulator as a valid emulator

当我关闭 emulator 时,console 显示,

And when I close the emulator the console shows,

[2013-12-02 15:34:23 - hierarchyviewer]Unable to get view server version from device emulator-5554
[2013-12-02 15:34:23 - hierarchyviewer]Unable to get view server protocol version from device emulator-5554
[2013-12-02 15:34:23 - ViewServerDevice]Unable to debug device: My1 [emulator-5554]
[2013-12-02 15:34:23 - hierarchyviewer]Missing forwarded port for emulator-5554
[2013-12-02 15:34:23 - hierarchyviewer]Unable to get the focused window from device emulator-5554 

那么有人可以帮助我吗?谢谢!!!

So can someone help me? Thank you!!!

推荐答案

要解决这个问题,请转到 Window --> Open Perspective --> DDMS.在 DDMS 视图中,在屏幕左侧查找设备.您应该会看到一个包含大约 12 个图标的栏.单击向下箭头,然后单击重置 ADB".它应该在之后工作.

To solve this, go to Window --> Open Perspective --> DDMS. In the DDMS View, look for devices on the left of your screen. You should see a bar having about 12 icons. Click on the down arrow and click the "reset ADB". It should work afterwards.

这篇关于ADT插件中的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))