等待设备时出错:等待模拟器上线 300 秒后超时 [英] Error while waiting for device: Timed out after 300seconds waiting for emulator to come online

查看:29
本文介绍了等待设备时出错:等待模拟器上线 300 秒后超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用 android studio 模拟器,但我无法在模拟器上运行我的应用程序.当我运行我的应用程序时,它会显示具有以下详细信息的模拟器:

I have been trying to use android studio 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 is enabled

Hax ram_size 0x40000000

Hax ram_size 0x40000000

HAX 正在运行,模拟器在快速虚拟模式下运行.

HAX is working and emulator runs in fast virt mode.

控制台在 5554 端口;ADB 5555 端口

Console on port 5554; ADB on port 5555

之后,它需要下一个 TAB Launching 应用程序并显示等待设备上线.之后它显示错误:

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 300 seconds waiting for emulator to come online.

任何人都知道任何解决方案.

Anyone know any solution.

推荐答案

虽然这种行为可能有多种原因......主要可能是由于系统映像或您使用的API版本错误

Although there could be various reasons for this behaviour.... Mostly it may be due to error in system images or the API version you are using

最好下载最新的系统映像,并确保您使用的 API 版本兼容.

better you download latest system images and make sure the compatibilty of API version you are using.

如果存在问题

我想提出一些修复建议:试试吧

I would like to suggest some fixes: Try them

1) 卸载/重新安装 Android SDK 到文件夹.

1)Uninstall/Reinstall Android SDK to folder.

2) 删除模拟器并创建另一个针对相应 API 级别的模拟器.

2) delete the emulator and create another emulator targeted at the appropriate API Level.

3) 创建一个新的虚拟设备.

3)create a new Virtual Device.

4) 将Max VM application heap size"硬件属性设置为 192 或更高,并选择 QVGA 皮肤.

4)set "Max VM application heap size" hardware property to 192 or higher and pick the QVGA skin.

希望能帮到你.

这篇关于等待设备时出错:等待模拟器上线 300 秒后超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆