Android 模拟器因 GLES 2.x 配置而崩溃 [英] Android Emulator crashing with GLES 2.x config

查看:23
本文介绍了Android 模拟器因 GLES 2.x 配置而崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的安卓模拟器因这个错误而崩溃.

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.

推荐答案

  1. 打开 AVD 管理器

  1. Open AVD Manager

编辑此 AVD(按钮位于操作"列)

Edit this AVD (the button is at the 'actions' column)

模拟性能,图形:软件-GLE 2.0

Emulated Performance,Graphics:Software-GLE 2.0

完成配置并重新启动您的虚拟设备

finish the configuration and restart your virtual device again

这篇关于Android 模拟器因 GLES 2.x 配置而崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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