Android Studio 模拟器找不到 wglgetextensionsstringarb [英] Android Studio emulator could not find wglgetextensionsstringarb

查看:28
本文介绍了Android Studio 模拟器找不到 wglgetextensionsstringarb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试启动模拟器时,突然出现此错误

When I try to start the emulator, suddenly I started getting this error

几天前一切正常.如果我禁用 GPU 加速,它会工作但速度很慢.

everything worked couple of days ago. if I disable GPU acceleration then it works but very slowly.

我尝试在 bios 中重新启用虚拟化,它工作了一次,现在我再次遇到相同的错误..

I tried re-enabling virtualization in the bios and it worked once and now I get the same error again..

我有最新的 android studio 2.2.1我有一块新显卡 GeForce.

I have the latest android studio 2.2.1 I have a new graphics card GeForce.

这是错误信息

Hax 已启用

init: 找不到 wglGetExtensionsStringARB!

init: Could not find wglGetExtensionsStringARB!

getGLES2ExtensionString:找不到 GLES 2.x 配置!Hax ram_size 0x60000000

getGLES2ExtensionString: Could not find GLES 2.x config! Hax ram_size 0x60000000

HAX 正在运行,模拟器在快速虚拟模式下运行.

HAX is working and emulator runs in fast virt mode.

无法获取 GLES 2.x 扩展字符串!

Failed to obtain GLES 2.x extensions string!

无法初始化模拟帧缓冲区

Could not initialize emulated framebuffer

模拟器:侦听端口上的控制台连接:5554

emulator: Listening for console connections on port: 5554

emulator:这个模拟器的序列号(对于ADB):emulator-5554

emulator: Serial number of this emulator (for ADB): emulator-5554

模拟器:错误:无法初始化 OpenglES 模拟,请使用-gpu off"禁用它.

emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.

推荐答案

解决了!

这似乎是屏幕分辨率问题.

it seems to be a screen resolution issue.

我有一台 4K 笔记本电脑,但我使用 2 个普通大屏幕和笔记本电脑屏幕(如果关闭(盖子合上)).看来我的显卡检测到了这一点并切换到板载该死的英特尔卡.

I have a 4K laptop but I use 2 regular large screens and the laptop screen if off (lid closed). it seems that my graphics cards detects this and switches to the on board shitty intel card.

解决办法是:

  1. 打开笔记本电脑盖(这样笔记本电脑屏幕就会亮起来)
  2. 启动模拟器
  3. 模拟器运行后,您可以合上笔记本电脑的盖子

或使用您的显卡设置始终为 AVD 启用硬件 GPU(如果可能)

or use your graphics cards settings to enable hardware GPU always for AVD (if possible)

这篇关于Android Studio 模拟器找不到 wglgetextensionsstringarb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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