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

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

问题描述

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

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 is enabled

Hax ram_size 0x40000000

Hax ram_size 0x40000000

HAX正在运行,并且仿真器以快速virt模式运行.

HAX is working and emulator runs in fast virt mode.

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

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.

OR

2)删除该仿真器,并创建另一个针对相应API级别的仿真器.

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

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

3)create a new Virtual Device.

OR

4)将最大VM应用程序堆大小"硬件属性设置为192或更高,并选择QVGA外观.

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

希望有帮助.

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

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