Error starting HelloWorld cocos2dx

I'm a newbie.

Trying to run the HelloWorld example using cocos2dx (cocos2d-2.0-rc2-x-2.0.1), Android SDK 20.0.1, Android NDK r8, on a 64-bit Linux machine (openSuse 12.1).

The following exception occurred when starting emulation from Eclipse:

W/dalvikvm(  644): threadid=13: thread exiting with uncaught exception (group=0x40a13300)
E/AndroidRuntime(  644): FATAL EXCEPTION: GLThread 77
E/AndroidRuntime(  644): java.lang.IllegalArgumentException: No configs match configSpec
E/AndroidRuntime(  644):        at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:863)
E/AndroidRuntime(  644):        at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1024)
E/AndroidRuntime(  644):        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1401)
E/AndroidRuntime(  644):        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
D/gralloc_goldfish(  644): Emulator without GPU emulation detected.

Any ideas?

+5
source share
1 answer

for 2.0, you need to run on the device because the emulator does not support OpenGL 2.0

for those interested in how to run OpenGL 2.0 on an emulator, here is the link http://www.cocos2d-x.org/boards/6/topics/12563

+8
source

All Articles