Android: bug in AndEngine

I am trying to learn game programming in Android . I configured the GPU emulation in AVD to "yes" and the AndEngine library version will be 4.1

I also installed project version 4.1, but the following error occurs, please help me.

I am using the sample code for the tower of Hanoi.

 E/AndroidRuntime(698): at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:183) D/gralloc_goldfish(786): Emulator without GPU emulation detected. E/AndroidRuntime(786): FATAL EXCEPTION: GLThread 101 E/AndroidRuntime(786): java.lang.IllegalArgumentException: No EGLConfig found! E/AndroidRuntime(786): at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:183) E/AndroidRuntime(786): at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:157) E/AndroidRuntime(786): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1009) E/AndroidRuntime(786): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1362) E/AndroidRuntime(786): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216) 
+1
source share
1 answer

You can use this org.andengine.AndEngine.IsDeviceSupported() method to check if your device is supported.
If you have an ancient graphics card, you cannot turn on GPU emulation forever.
See this thread 1st post, TIPS AND TRICKS section for details.

+1
source

All Articles