godot-kotlin-jvm icon indicating copy to clipboard operation
godot-kotlin-jvm copied to clipboard

Support multidex and fix export for android 14 devices

Open chippmann opened this issue 1 year ago • 2 comments

This implements multidex support for both usercode jar and bootstrap jar: 2024-05-09T22:02:35,106757814+02:00

This also fixes an issue regarding dynamic code loading on android 14 when built with the corresponding target sdk version: https://developer.android.com/about/versions/14/behavior-changes-14#safer-dynamic-code-loading

Android export tested on our tests project. Will test the 3D demo project tomorrow as well

chippmann avatar May 09 '24 20:05 chippmann

Tested on the template project as well: Screenshot_20240510_100822

On the 3D demo i still encounter some issues but I'm not yet sure if they really stem from this PR given that that demo was never smooth sailing on mobile

chippmann avatar May 10 '24 08:05 chippmann

Ok the error in the 3D demo is also present on desktop but there it just does not crash the application which it does no android it seems. But i guess it's safe to say that this is unrelated to this PR

chippmann avatar May 10 '24 08:05 chippmann