Android Emulator与GLES 2.x配置崩溃

时间:2016-11-03 16:39:55

标签: android android-studio android-emulator

我的android模拟器因此错误而崩溃。

C:\Users\Rakshit\AppData\Local\Android\Sdk\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_5X_API_23
Hax is enabled
init: Could not find wglGetExtensionsStringARB!
Hax ram_size 0x60000000
getGLES2ExtensionString: Could not find GLES 2.x config!
Failed to obtain GLES 2.x extensions string!
HAX is working and emulator runs in fast virt mode.
Could not initialize emulated framebuffer
emulator: Listening for console connections on port: 5554
emulator: Serial number of this emulator (for ADB): emulator-5554
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.

我的模拟器过去一直运行到昨天,但自从我更新了我的Windows 10和Android Studio以来,它已经停止了。我尝试更新图形驱动程序,但也没关系。 我确实关闭了gpu但是我的模拟器运行非常缓慢。我在这里查了很多关于此的帖子,并找到了类似的解决方案 能帮忙吗?

1 个答案:

答案 0 :(得分:1)

  1. 打开AVD Manager
  2. 编辑此AVD(按钮位于“操作”列)
  3. 仿真性能,图形:Software-GLE 2.0
  4. 完成配置并重新启动虚拟设备

    为图形选择'Software-GLE 2.0',而不是选择'自动'或'硬件-GLE 2.0'(用软件模拟图形)