Android模拟器在ADT插件没有运行 [英] android emulator in ADT plugin not running
问题描述
我正在为 android 开发使用 Eclipse ADT 插件。我遇到了一些问题,我删除了所有现有的仿真器,并创建了一个新的。当我运行一个Android项目并启动模拟器时,即使在开始 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 ...
一遍又一遍。而控制台显示
and the progress tab shows,No operations to display at this time.
and the logcat displaying I/ServiceManager(270): Waiting for service SurfaceFlinger...
over and over again. And the console shows
[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...
但是,模拟器从未启动。当我使用 DDMS 透视图重新启动 adb 时,我重新启动IDE。
But the emulator never launched. No rusalt although I restart the IDE.
它提供了以下错误。
[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 manager 还将模拟器显示为有效的模拟器
The avd manager also shows the emulator as a valid emulator
当我关闭模拟器时,控制台显示
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.
这篇关于Android模拟器在ADT插件没有运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!