Why do the demos take so long to start on Android? Sometimes the system will even show a dialog asking me if I want to close the app, because it is taking so long. Also it crashes when leaving then resuming the activity. Once they show up they run at a great frame rate and look great. I tried them on an Android 8.1 device.
Also when I tried them on an Android 4.4 device it just crashes.
I haven't tested it on any other Android devices yet, and I just tried out the demos so far.
Ted's console shows this on Android 8.1. (Going back to the home screen and then returning to game activity crashed the demos.)
Code:
--------- beginning of system
--------- beginning of main
06-06 22:13:17.416 376 389 E memtrack: Couldn't load memtrack module
06-06 22:13:17.524 900 997 E PBSessionCacheImpl: sessionId[3959864872399432] not persisted.
06-06 22:13:17.693 265 430 E : Couldn't opendir /data/app/vmdl406803353.tmp: No such file or directory
06-06 22:13:17.693 265 430 E installd: Failed to delete /data/app/vmdl406803353.tmp: No such file or directory
06-06 22:13:18.863 25074 25098 I [Cerberus]: Vendor name: NVIDIA Corporation
06-06 22:13:18.863 25074 25098 I [Cerberus]: Renderer name: NVIDIA Tegra
06-06 22:13:18.865 25074 25098 I [Cerberus]: API version name: OpenGL ES 3.2 NVIDIA 361.00
06-06 22:13:18.865 25074 25098 I [Cerberus]: Shading version name: OpenGL ES GLSL ES 3.20
06-06 22:13:32.834 376 389 E memtrack: Couldn't load memtrack module
06-06 22:13:35.665 485 485 E BufferItemConsumer: [unnamed-485-30] Failed to release buffer: Unknown error -1 (1)
06-06 22:13:35.677 485 485 E BufferItemConsumer: [unnamed-485-31] Failed to release buffer: Unknown error -1 (1)
06-06 22:13:36.282 485 485 E BufferItemConsumer: [unnamed-485-32] Failed to release buffer: Unknown error -1 (1)
06-06 22:13:36.309 485 485 E BufferItemConsumer: [unnamed-485-33] Failed to release buffer: Unknown error -1 (1)
--------- beginning of crash06-06 22:13:58.137 376 389 E memtrack: Couldn't load memtrack module
Ted's console shows this on Android 4.4. (Crashes immediately after launch.)
Code:
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
E/art (10351): Unrecognized option -XX:mainThreadStackSize=24K
E/cutils-trace(10351): Error opening trace file: Permission denied (13)
E/rsC++ ( 2660): RS Message thread exiting.
Otherwise it's working great for me on GLFW and HTML.