Running AndEngine in the Emulator

Posted by Vexillum on July 07, 2012

I heard some of you have tried running their AndEngine game using the emulator. Well this does not work, since the emulator does not initially support GLES2.

You normally should get an error like this:

    java.lang.IllegalArgumentException: No EGLConfig found!

Emulator Tutorial – Setup 01
Emulator Tutorial – Setup 02

  1. Make you have the latest SDK installed.
  2. Open the Android Virtual Device Manager (AVD).
    1. Delete your old virtual devices
    2. Add a new virtual device
      1. Click on “New” to add a new hardware property.
      2. Select “GPU emulation”
      3. Enable “GPU emulation”
    3. Now just “Create AVD” and you are ready to go
  3. Run your game in the emulator.