"错误:OpenGLES初始化失败"在CentOS与Android SKD [英] "ERROR: OpenGLES initialization failed!" on CentOS with android SKD

查看:843
本文介绍了"错误:OpenGLES初始化失败"在CentOS与Android SKD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行:     的/ usr /本地/ Android的SDK-Linux的/工具/仿真器-avd TST

When I run: /usr/local/android-sdk-linux/tools/emulator -avd tst

我得到的错误:

Failed to open lib64EGL_translator
Failed to init_egl_dispatch
emulator: ERROR: OpenGLES initialization failed!
emulator: ERROR: OpenGLES emulation library could not be initialized!
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
emulator: emulator window was out of view and was recentered

我已经按照这里的步骤:<一href="http://www.redips.net/android/emulator-fedora-linux/">http://www.redips.net/android/emulator-fedora-linux/

我也试着使用的命令仿真臂和emulator64臂

I've also tried using the commands emulator-arm and emulator64-arm

另一件事我想是

export LD_LIBRARY_PATH=/usr/local/android-sdk-linux/tools/lib:$LD_LIBRARY_PATH

另一种尝试是与参数:

Another attempt was with the parameters:

-no-audio -gpu off

我使用的是新鲜的CentOS 6.6与百胜更新安装运行。我使用了Android SDK:<一href="http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz">http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz

我跑的/ usr /本地/ Android的SDK-Linux的/工具/机器人并安装了Android 5.0的API + ARM。我再次试图与Android 4.4系统AVM。

I ran /usr/local/android-sdk-linux/tools/android and installed the Android 5.0 api+arm. I tried again with a Android 4.4 AVM.

我已经尝试了所有的建议,我可以找到。任何其他建议?

I've tried all the suggestions I could find. Any other suggestions?

推荐答案

导出LD_LIBRARY_PATH =的/ usr /本地/ Android的SDK-Linux的/工具/ lib目录下:$ LD_LIBRARY_PATH'使得workd我。另外specfie​​d在命令行-gpu关。

The 'export LD_LIBRARY_PATH=/usr/local/android-sdk-linux/tools/lib:$LD_LIBRARY_PATH' made it workd for me. Also specfied '-gpu off' in the command line.

这篇关于&QUOT;错误:OpenGLES初始化失败&QUOT;在CentOS与Android SKD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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