Hi i exported my Gideros project to andriod studio and the apk crashes. the log cat shows this as an error.
02-03 14:56:11.100 4530-4555/info.demimax.DontHittheGhost E/AndroidRuntime: FATAL EXCEPTION: GLThread 186
Process: info.demimax.DontHittheGhost, PID: 4530
java.lang.IllegalArgumentException: No config chosen
at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:874)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1024)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1401)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
02-03 14:56:12.296 4530-4530/info.demimax.DontHittheGhost A/libc: Fatal signal 11 (SIGSEGV) at 0x000001c8 (code=1), thread 4530 (DontHittheGhost)
Would really appreciate some help.
Comments
https://github.com/gideros/gideros/blob/master/ui/Templates/AndroidStudio/Android Template/app/src/main/java/com/giderosmobile/android/AndroidTemplateActivity.java#L226
Likes: Denisi
Does help if you change it to:
setEGLConfigChooser(8, 8, 8, 0, 16, 0);
or
setEGLConfigChooser(8, 8, 8, 8, 16, 0);
Likes: Denisi
We would need to resolve on better checking for such specific cases.
So just do be clear
Original did not work: setEGLConfigChooser(8, 8, 8, 0, 16, 8);
and setEGLConfigChooser(8, 8, 8, 8, 16, 0); worked
So what about setEGLConfigChooser(8, 8, 8, 0, 16, 0); ?
https://deluxepixel.com
setEGLConfigChooser(8, 8, 8, 8, 16, 8);