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

我正在使用 eclipse ADT 插件进行 android 开发.我遇到了一些问题,我删除了所有现有的 emulators 并创建了一个新的.当我运行一个 android 项目并启动 emulator 时,它甚至在启动 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.

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

[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

当我关闭 emulator 时,console 显示,

[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 

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

qq8023tt 回答:ADT插件中的android模拟器未运行

要解决这个问题,请转到 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模拟器未运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持前端之家!

本文链接:https://www.f2er.com/3176436.html

大家都在问