Reputation: 73
I'm using AndEngine and always get the error:
"java.lang.IllegalArgumentException: No EGLConfig found!"
when I run my app in an emulator. The GPU emulation is set to true in hardware configurations. It also happens with all sdks. My app runs fine on a phone. Anyone have any suggestions? :)
Edit: this was a problem with my graphics card setup in ubuntu, all is well now :)
Upvotes: 4
Views: 1272
Reputation: 73
this was a problem with my graphics card setup in Ubuntu 12.04 :P
Upvotes: 0
Reputation: 7742
I had the same problem before and I solved it doing the following:
Note: You can do all these with your SDK Manager. If it is not the case because your country is blocked(Can't access to Google repositories), you'll have to use a proxy and go for direct links, BTW that's my case. :)
That should be enough, I think this is the best configuration you can have for developing Android, altough your problem can be solved by applying statement 1 and 4. Good Luck!!!
PD: If you want to test some app who uses OpenGL 2.0 in a previous API version(for example Froyo) you'll have to do it in a physical phone.
Upvotes: 1