我正在使用
Eclipse ADT插件进行
Android开发.我遇到了一些问题,我删除了我现有的所有仿真器,并创建了一个新的模拟器.当我运行一个Android项目并启动模拟器时,即使在启动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...
但仿真器从未启动.没有rusalt虽然我重新启动IDE.
当我使用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管理器还将仿真器显示为有效的仿真器
当我关闭模拟器控制台时,
[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
有人可以帮我吗谢谢!!!
解决方法
要解决这个问题,请转到窗口 – >开放视角 – > DDMS. 在DDMS视图中,查找屏幕左侧的设备.你应该看到一个有12个图标的酒吧.单击向下箭头,然后单击“重置ADB”.以后应该工作.