在模拟器上运行应用时出错

时间:2018-10-08 12:34:05

标签: android android-studio android-emulator

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

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版。

1 个答案:

答案 0 :(得分:0)

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

Android Studio -> Tools -> SDK Manager

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

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