使用GLES 2.x配置的Android模拟器崩溃 [英] Android Emulator crashing with GLES 2.x config
问题描述
我的Android模拟器因此错误而崩溃.
My android emulator is crashing with this error.
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,但随后我的模拟器运行缓慢.我在这里检查了许多与此相关的帖子,并找到了类似的解决方案.你能帮忙吗?
My emulator used to run fine till yesterday but ever since I updated my Windows 10 and Android Studio, it has stopped. I tried updating the graphics driver but that is fine as well. I did turn off the gpu but then my emulator runs very sluggishly. I checked many posts here regarding this and have found similar solutions. Could you please help.
推荐答案
-
打开AVD Manager
Open AVD Manager
编辑此AVD(按钮位于操作"列)
Edit this AVD (the button is at the 'actions' column)
仿真性能,图形:Software-GLE 2.0
Emulated Performance,Graphics:Software-GLE 2.0
完成配置,然后重新启动虚拟设备
finish the configuration and restart your virtual device again
这篇关于使用GLES 2.x配置的Android模拟器崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!