android FATAL EXCEPTION: GLThread

来源:互联网 发布:哑铃锻炼软件下载 编辑:程序博客网 时间:2024/05/21 04:21

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:

1
2
FATAL EXCEPTION: GLThread 11
java.lang.IllegalArgumentException: No EGLConfig found!

Emulator Tutorial – Setup 01Emulator 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.

No related posts.