AndEngine
AndEngine copied to clipboard
No EGLConfig found!
i coded my game with GLES2, and having this report on google play.
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 org.andengine.extension.opengl.EGLHelper.start(EGLHelper.java:78) at org.andengine.extension.opengl.GLThread.guardedRun(GLThread.java:151) at org.andengine.extension.opengl.GLThread.run(GLThread.java:95)
Either you requested some bizzare rendering options (I do not think so) or you just forgot to add this to your manifest:
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
Without this entry it is possible to install AE-based apks on a device that does not support GLES2, which probably is what you are facing. It is not AE error. (well... it might be AE error, but there are other, more probable explenations).
I have the same problem and I tried the code given by nazgee but still it gives the same error. Is there other cause of this error? If yes, what is it and how can I resolve it?
http://perle-development.com/tutorials/running-andengine-in-the-emulator/