避免“未找到 EGLConfig!"错误 [英] Avoiding The "No EGLConfig found!" Error

查看:51
本文介绍了避免“未找到 EGLConfig!"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个用户报告了我的游戏的这个错误.

one of my users are reporting this error for my game.

我使用 andengine 作为我的引擎.这是错误.

i am using andengine as my engine. Here is the error.

java.lang.IllegalArgumentException: No EGLConfig found!
at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:183)
at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:157)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:916)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1246)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)

我的问题是,我能做些什么来避免这个错误?

My question is, is there anything i can do to avoid this error?

推荐答案

如果您在设备上使用自定义 rom,如 cyanogenmod,则会出现此异常.并且没有办法阻止它.

This exception appears if you use custom rom on your device, like cyanogenmod. And there is no way to prevent it.

http://www.andengine.org/forums/gles2/no-eglconfig-found-t6129.html

这篇关于避免“未找到 EGLConfig!"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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