我是新来的android编程。我是指谷歌开发者网站学习android。当我运行一个应用程序UI,我得到了这些错误。
H:\SDK\tools\emulator.exe -avd Nexus_5_API_21_x86 -netspeed full -netdelay none
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
getGLES1ExtensionString: Could not find GLES 1.x config!
Failed to obtain GLES 1.x extensions string!
Could not initialize emulated framebuffer
我正在使用Android Studio。
我最近也遇到了同样的问题,出现这个问题是因为AVD试图使用系统的显卡渲染图形,但由于您的系统的图形驱动程序不是最新的,或者它不支持这个,所以这是解决方案。
第一步:
第二步:
配置新设备时,在“仿真性能”类别下为图形使用选项“软件-GLES 2.0”。在配置AVD时单击“显示高级设置”后,将看到此选项。