Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android AndEngine: java.lang.IllegalArgumentException: No EGLConfig found

I'm doing a REALLY simple app, a basic hello world to test AndEngine and I am currently having some problems when running it: I set my emulator properties as RealMayo suggests in his videos and it should work but I get this error instead

07-23 13:10:23.014: E/AndroidRuntime(1485): java.lang.IllegalArgumentException: No        EGLConfig found!

Anyone has encountered the same situation, or may know how to solve it?

I am almost tempted to not us AndEngine at all... as a simple app has been really difficult to run.

NOTE: I have found some posts but they are at least 3 months old and the use of emulators has been fixed not long ago.

Anyways Thank you! :)

like image 684
Luisjomen2a Avatar asked Oct 23 '22 15:10

Luisjomen2a


1 Answers

make sure your AVD is at least Android version 4.0.3

see this thread http://www.andengine.org/forums/gles2/api-level-t8230.html

like image 147
jmroyalty Avatar answered Nov 11 '22 11:11

jmroyalty