Android apps bundling more than around 512 resource files crash on launch with the following exception when run on API level 21:
It seems that local JNI references to strings containing the resource file names are not being released quickly enough.
The exact number of resource files required to trigger this was 507 in our testing, as some string references are used by other components, which can be seen in the exception above where only the numbered .txt files are resource files.
We did not see this issue with Qt 5.13, so we think it’s a regression. Running on API level 28 did not trigger the issue, even when using more resource files. We didn’t try other API levels so far.
Run attached sample app on Android API level 21 (e.g. x86 or x86_64 emulator).
The app contains 512 resource files which are bundled like this: