等待设备时出错:等待模拟器上线 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 已启用
Hax ram_size 0x800000000
Hax ram_size 0x800000000
HAx 正在运行和模拟器
HAx is working and emulator
以快速虚拟模式运行.
控制台在 5554 端口,
console on port 5554,
ADB 在 5555 端口
ADB on port 5555
之后,它需要下一个 TAB 启动应用程序并显示等待设备上线之后它显示错误:等待设备时出错:等待模拟器上线 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.
- 安装了全新的 android studio 2.0 和所有最新的 SDK
- 厌倦了增加模拟器内存.
- 安装了带有最新 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
而不是 <代码>自动代码>或<代码>硬件代码>.
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屋!