代码改变世界

android FATAL EXCEPTION: GLThread

2012-10-25 14:51  三戒1993  阅读(263)  评论(0)    收藏  举报

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.