仿真器:警告:无法初始化OpenglES模拟,用软件渲染器 [英] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer

查看:1743
本文介绍了仿真器:警告:无法初始化OpenglES模拟,用软件渲染器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是这些错误信息的意思是从Android模拟器?

 启动模拟器的AVDAVD
无法创建上下文0x3005
不能得到wglGetExtensionsStringARB
仿真器:警告:无法初始化OpenglES模拟,用软件渲染器。
不能得到wglGetExtensionsStringARB
不能得到wglGetExtensionsStringARB
不能得到wglGetExtensionsStringARB
不能得到wglGetExtensionsStringARB
不能得到wglGetExtensionsStringARB
不能得到wglGetExtensionsStringARB
不能得到wglGetExtensionsStringARB
 

解决方案

当启动命令行模拟器 - $ emulator64臂-avd GalaxyS2 - 我有一个similiar(也许/希望)有关的消息:

  

模拟器:错误:无法加载OpenGLES仿真库:lib64OpenglRender.so:无法打开共享对象文件:没有这样的文件或目录

我发现这个文件 lib64OpenglRender.so 查找。这是在 tools / lib目录 -subdirectory的 Android的SDK-的linux -dir。

因此​​,我创建 /etc/ld.so.conf.d/android_stuff.conf (你当然可以将下面的行添加到另一个*的.conf文件中该目录),并把一线的:

  

path_to_android-SDK-linux_directory / tools / lib目录

然后调用配置工具: ldconfig的(只是不带任何参数)和(至少在我的情况下)的错误消息走了

What do these error messages mean from the Android emulator?

Starting emulator for AVD 'AVD'
Failed to create Context 0x3005
could not get wglGetExtensionsStringARB
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
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

解决方案

While starting the emulator from the command line - $ emulator64-arm -avd GalaxyS2 - I got a similiar (and maybe/hopefully) related message:

emulator: ERROR: Could not load OpenGLES emulation library: lib64OpenglRender.so: cannot open shared object file: No such file or directory

I found this file lib64OpenglRender.so through locate. It's in the tools/lib-subdirectory of the android-sdk-linux-dir.

So I created /etc/ld.so.conf.d/android_stuff.conf (you could of course add the following line to another *.conf-file in that directory) and put one line in:

path_to_android-sdk-linux_directory/tools/lib

Then call the configuration-tool: ldconfig (just without any parameter) and (at least in my case) the error-message went away.

这篇关于仿真器:警告:无法初始化OpenglES模拟,用软件渲染器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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