&引用;错误:OpenGLES初始化失败&引用;在CentOS上安装android SKD
当我跑步时:&引用;错误:OpenGLES初始化失败&引用;在CentOS上安装android SKD,android,Android,当我跑步时: /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!
/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
我在这里遵循了以下步骤:
我还尝试使用emulator arm和emulator arm命令
我试过的另一件事是
export LD_LIBRARY_PATH=/usr/local/android-sdk-linux/tools/lib:$LD_LIBRARY_PATH
另一次尝试是使用以下参数:
-no-audio -gpu off
我正在使用新安装的CentOS 6.6和yum-update-ran。我正在使用android SDK:
我运行了/usr/local/android sdk linux/tools/android并安装了android 5.0api+arm。我用安卓4.4 AVM再试了一次
我已经尝试了我能找到的所有建议。还有其他建议吗?我的回答是为了“支持”布赖恩的帖子,所以大家都知道,布赖恩并不是唯一一个看到这个错误的人
在我的CentOS 6.6机器上,我也尝试了列出的相同步骤,并且看到了几乎相同的错误消息。唯一的区别是我没有得到:
emulator: emulator window was out of view and was recentered
我的仿真器仅通过基本调用运行(此AVD未配置为使用主机的GPU):
但是错误消息表明有些东西坏了,应该纠正。导出LD_LIBRARY_PATH=/usr/local/android sdk linux/tools/lib:$LD_LIBRARY_PATH'对我来说是可行的。也在命令行中指定了“-gpu off”。在从命令行运行模拟器之前,将
lib64
目录添加到LD\u LIBRARY\u路径中,例如:
$ export LD_LIBRARY_PATH=/usr/local/android-sdk-linux/tools/lib64:$LD_LIBRARY_PATH
或
取决于SDK安装路径。嗨,Brian,我的计算机上不存在/usr/local/android SDK linux/tools/lib文件夹。我需要安装哪些软件包?
$ export LD_LIBRARY_PATH=/usr/local/android-sdk-linux/tools/lib64:$LD_LIBRARY_PATH
$ export LD_LIBRARY_PATH=$HOME/Android/Sdk/tools/lib64:$LD_LIBRARY_PATH