EGLConfig not found in emulator, gpu emulation is correct

I use AndEngine and always get an error:

"java.lang.IllegalArgumentException: not found EGLConfig!"

when i run my application in emulator. GPU emulation is set to true in the hardware configuration. This also happens with all sdks. My application works fine on the phone. Anyone have any suggestions? :)

Edit: it was a problem with setting up my video card in ubuntu, now everything is fine :)

+4
source share
2 answers

This was a problem with setting up my graphics card in Ubuntu 12.04: P

0
source

I had the same problem and decided to do this:

  • I downloaded the last two APIs (API 15 and API 16)
  • I installed ADT 20.0.3 with Eclipse JUNO
  • I installed the latest platforms (version 14) and sdk-tools (version 20.0.3)
  • I downloaded the new Intel Atom x86-based system images for the platforms (note this problem. API 15 and 16 will not work on ARM (at least it didnโ€™t work for me)).
  • As you say, enable GPU emulation when creating AVD.

Note. You can do all this with your SDK manager. If this is not the case because your country is blocked (you canโ€™t access the Google repositories), you will have to use a proxy server and apply for direct links, by the way, in my case. :)

This should be enough, I think this is the best configuration that you can use to develop Android, although your problem can be solved by applying claims 1 and 4. Good luck !!!

PD: If you want to test some application using OpenGL 2.0 in a previous version of the API (for example, Froyo), you will have to do it on a physical phone.

+1
source

Source: https://habr.com/ru/post/1437246/


All Articles