首页 > 解决方案 > 在模拟器上运行应用程序时出错

问题描述

每当我尝试在模拟器上运行我的应用程序时。每次我收到这个错误。

6:00 PM Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.

6:00 PM Emulator: init: Could not find wglGetExtensionsString!

6:00 PM Emulator: getGLES2ExtensionString: Could not find GLES 2.x config!

6:00 PM Emulator: Failed to obtain GLES 2.x extensions string!

6:00 PM Emulator: Could not initialize emulated framebuffer

6:00 PM Emulator: Incompatible HAX module version 3,requires minimum version 4

6:00 PM Emulator: No accelerator found.

6:00 PM Emulator: failed to initialize HAX: Invalid argument

我正在使用 Android Studio 版本 3.2 。

标签: androidandroid-studioandroid-emulator

解决方案


转到 SDK 管理器并更新HAXM to >= v4版本。或者,在 Android Studio 上:

Android Studio -> Tools -> SDK Manager

更新到 v4 及更高版本应该可以解决问题。

也检查此链接:https ://stackoverflow.com/a/36880666/4409113


推荐阅读