Avoiding The "No EGLConfig found!" Error

coder_For_Life22 picture coder_For_Life22 · Jan 30, 2012 · Viewed 12.6k times · Source

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

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?

Answer

BoJIHa npocmombI picture BoJIHa npocmombI · Feb 7, 2012

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