等待设备时出错:等待仿真器上线300秒后超时 [英] Error while waiting for device: Time out after 300seconds waiting for emulator to come online
问题描述
我一直在尝试使用android studio 2.0模拟器,但无法在模拟器上运行我的应用程序.当我运行我的应用程序时,它将显示具有以下详细信息的模拟器:
I have been trying to use android studio 2.0 emulator but I can not run my App on the Emulator. When I Run my App it shows the emulator with following details:
启用了传真
-
Hax ram_size 0x800000000
Hax ram_size 0x800000000
HAx正在运行并且是仿真器
HAx is working and emulator
在快速virt模式下运行.
runs in fast virt mode.
控制台位于端口5554上,
console on port 5554,
端口5555上的ADB
ADB on port 5555
此后,进入下一个TAB Launching应用并显示 等待设备上线 之后,它显示错误: 等待设备时出错:等待仿真器上线300秒后超时.
After that it takes to next TAB Launching app and shows Waiting for the device to Come online After that it shows error: Error while waiting for device: Time out after 300seconds waiting for emulator to come online.
到目前为止我尝试过的.
What I have tried so far.
- 安装了带有最新SDK的最新android studio 2.0
- 累了以增加仿真器内存.
- 使用最新的SDK安装了android studio 2.1 Beta
- 在Google上讨论了此问题.
任何人都知道解决方案.
Anyone know any solution.
谢谢.
编辑
我还没有找到任何解决方案.我在2016年5月4日开设了新期刊,因为它是先前版本中的已知错误.如果您遇到同样的问题,请在以下链接中报告.
I haven't found any solution yet. I opened new issue on 4th may 2016 because it is known bug in previous versions. Please report on the following link if you have same issue.
https://code.google.com/p/android/issues/detail?id = 209095
推荐答案
对我来说,解决方案是将Android虚拟设备上的图形"选项设置为 Software
,而不是Automatic
或
The solution for me was setting the Graphics option on the Android Virtual Device to Software
instead of Automatic
or Hardware
.
我认为这是解决方案,因为我正在Windows机器上工作,而该机器没有专用的图形卡.
I believe this was the solution because I am working on a windows machine that did not have a dedicated graphics card.
这篇关于等待设备时出错:等待仿真器上线300秒后超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!