Crash on startup (android.opengl.GLSurfaceView$GLThread.run)

627 views
Skip to first unread message

Tim O'Brien

unread,
Aug 9, 2012, 7:44:45 AM8/9/12
to pl...@googlegroups.com

Anybody getting this error when debugging with android emulator.

08-09 11:18:55.981: D/libEGL(623): Emulator without GPU support detected. Fallback to software renderer.
08-09 11:18:55.981: D/libEGL(623): loaded /system/lib/egl/libGLES_android.so
08-09 11:18:56.110: D/gralloc_goldfish(623): Emulator without GPU emulation detected.
08-09 11:18:56.530: D/playn(623): Using default sizing.
08-09 11:34:56.993: W/dalvikvm(623): threadid=11: thread exiting with uncaught exception (group=0x409951f8)
08-09 11:35:05.161: E/AndroidRuntime(623): FATAL EXCEPTION: GLThread 78
08-09 11:35:05.161: E/AndroidRuntime(623): java.lang.IllegalArgumentException: No configs match configSpec
08-09 11:35:05.161: E/AndroidRuntime(623): at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:825)
08-09 11:35:05.161: E/AndroidRuntime(623): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:981)
08-09 11:35:05.161: E/AndroidRuntime(623): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1335)
08-09 11:35:05.161: E/AndroidRuntime(623): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1189)
08-09 11:35:05.211: D/playn(623): onPause
08-09 11:35:05.211: I/playn(623): notifyVisibilityChanged: 4
08-09 11:35:34.380: I/Process(623): Sending signal. PID: 623 SIG: 9

Tim O'Brien

unread,
Aug 9, 2012, 7:57:08 AM8/9/12
to pl...@googlegroups.com
Ok, I think I found the issue, it's just the emulator.   http://stackoverflow.com/questions/8199067/android-opengl-apps-stop-working-after-being-loaded-in-emulator
I had altered the SDK at the same time to 14 vs 11 and could not longer get it to start on my Samsung Galaxy SII.  
Altering back to target platform 11 and it loads fine on my device just no emulator debugging :(

I had wanted to debug because I can't see any of the resource graphics on the maven Android build. Build for html works just fine.

Tim O'Brien

unread,
Aug 14, 2012, 8:04:42 PM8/14/12
to pl...@googlegroups.com
I finally got my game running on android.

First of all, the playn samples from git and maven command line is the best way to go. I still use java in eclipse for debugging, but avoid the maven integration.

I also had to update my core pom.xml resourcedirectory and put a copy in the android folder as well.

Since I couldn't debug in the emulator i installed an error log app to get the trace off my galaxy sII. Seems i forgot to resize some of the images exported from inkscape and the memory allocation was crashing the glthread during worldload.

Now i just have to do the following for all platforms.
mvn clean
mvn install
(copy my apk to gdrive and test away)

Thanks, this group had all answers

Reply all
Reply to author
Forward
0 new messages