Hi there - I’ve just started to play around with gdevelop, to check if it’s a nice solution to bring my kids into game development, and I’ve made a very simple game in the online tool, and published to android.
The game runs fine in browser from gdevelop online, and on a recent device, but I’ve tested in on some old LG K10 device with android 7, and after few seconds the game starts to blink, and crashes.
At the same logcat displays the following:
2022-04-28 10:46:02.195 ? E/chromium: [ERROR:gles2_cmd_decoder.cc(4919)] GLES2DecoderImpl: Context reset detected after MakeCurrent.
2022-04-28 10:46:02.196 ? E/chromium: [ERROR:gl_context.cc(109)] Failed to make current since context is marked as lost
2022-04-28 10:46:02.198 ? E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)
2022-04-28 10:46:02.199 ? E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)
2022-04-28 10:46:02.200 ? E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)
2022-04-28 10:46:02.202 ? E/chromium: [ERROR:shared_image_stub.cc(519)] SharedImageStub: context already lost
2022-04-28 10:46:02.207 ? E/MALI: gles_state_set_error_internal:69: [MALI] GLES ctx: 0x8ed00008, error code:0x505
2022-04-28 10:46:02.437 ? D/: #00 pc 005d0021 /system/vendor/lib/egl/libGLES_mali.so (MtkMali_DumpCallStack+20)
2022-04-28 10:46:02.437 ? D/: #01 pc 0058a6fd /system/vendor/lib/egl/libGLES_mali.so
2022-04-28 10:46:02.437 ? D/: #02 pc 005576cd /system/vendor/lib/egl/libGLES_mali.so
2022-04-28 10:46:02.437 ? D/: #03 pc 0053d49d /system/vendor/lib/egl/libGLES_mali.so
2022-04-28 10:46:02.437 ? D/: #04 pc 0052ffc1 /system/vendor/lib/egl/libGLES_mali.so (eglDestroyContext+320)
2022-04-28 10:46:02.437 ? D/: #05 pc 0000ca2f /system/lib/libEGL.so (eglDestroyContext+62)
2022-04-28 10:46:02.437 ? D/: #06 pc 02c89867 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #07 pc 02c842c1 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #08 pc 02be39fb /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #09 pc 02be39df /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #10 pc 030c9b8d /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #11 pc 030c9c97 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #12 pc 02c95a13 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #13 pc 02bda03b /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #14 pc 02bd9fb9 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #15 pc 02bd6ea3 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #16 pc 02bd6de9 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #17 pc 0273586b /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #18 pc 02bd6dd9 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #19 pc 030e3583 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #20 pc 021ccf4f /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #21 pc 021cd3b3 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #22 pc 0180c6a1 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #23 pc 021cfbd7 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #24 pc 021ccb39 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #25 pc 021cc897 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #26 pc 021cc787 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #27 pc 021eca59 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #28 pc 021a1d89 /data/app/com.android.chrome-2/base.apk (offset 0xc41000)
2022-04-28 10:46:02.437 ? D/: #29 pc 00047273 /system/lib/libc.so (_ZL15__pthread_startPv+22)
2022-04-28 10:46:02.437 ? D/: #30 pc 00019bd1 /system/lib/libc.so (__start_thread+6)
2022-04-28 10:46:02.437 ? D/MALI: gles_state_set_error_internal:70: [MALI] GLES error info:execution failed
I believe it can be somehow cordova related.
The game is really simple (not much of a game yet really), happy to attach the json file (if that is even possible here) the json is only 57KB and 1760 lines (after formatting).
The apk file is only 1.8 MB
The logic is really so simple that I can’t believe this can be related to what I’ve created, at the same time I can’t test it more myself, as I’m allowed only 2 builds