jPCT-AE - a 3d engine for Android > Bugs

HelloShader crashed error

(1/2) > >>

abed2000abed:
Dear,
This is first post for me here , once i try to check HelloShader sample i got this error below, can you please help me :)


12-07 17:09:03.854: I/jPCT-AE(326): onCreate
12-07 17:09:03.943: I/jPCT-AE(326): onResume
12-07 17:09:04.353: D/libEGL(326): egl.cfg not found, using default config
12-07 17:09:04.353: D/libEGL(326): loaded /system/lib/egl/libGLES_android.so
12-07 17:09:04.383: W/dalvikvm(326): threadid=9: thread exiting with uncaught exception (group=0x40015560)
12-07 17:09:04.473: E/AndroidRuntime(326): FATAL EXCEPTION: GLThread 10
12-07 17:09:04.473: E/AndroidRuntime(326): java.lang.IllegalArgumentException: No configs match configSpec
12-07 17:09:04.473: E/AndroidRuntime(326):    at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:763)
12-07 17:09:04.473: E/AndroidRuntime(326):    at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:919)
12-07 17:09:04.473: E/AndroidRuntime(326):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1264)
12-07 17:09:04.473: E/AndroidRuntime(326):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)
12-07 17:09:04.683: I/jPCT-AE(326): onPause
12-07 17:09:05.483: I/jPCT-AE(326): onStop
12-07 17:09:15.144: I/Process(326): Sending signal. PID: 326 SIG: 9

mbowen89:
Are you trying to run this from an emulator?

abed2000abed:
yes this is from emulator :)

EgonOlsen:
The emulator doesn't run shaders until you enable hardware support for it. But in your case, it didn't even get this far, because it can't find a proper config for the selected mode. Get a real device, the emulator is pretty crappy anyway.

abed2000abed:
Thanks a lot i will do it :)

Navigation

[0] Message Index

[#] Next page

Go to full version