I am not sure where to report this - here or at substrate ...
Client Version: 1.0.7
Android 11
Tested with GraalVM 21.1 and 21.3 (Java 11 variant)
Built on: Fedora 34 or GitHub actions on ubuntu-18.04
I can create native images of my application for Android or Linux and run it just fine on Linux.
On Android (11) I get an UnsatisfiedLinkError for JNI_Onload_javajpeg in libsubstrate
10-20 13:32:04.658 24861 24861 D AndroidRuntime: Shutting down VM
10-20 13:32:04.660 24861 24861 E AndroidRuntime: FATAL EXCEPTION: main
10-20 13:32:04.660 24861 24861 E AndroidRuntime: Process: de.myapp.cfxmobile, PID: 24861
10-20 13:32:04.660 24861 24861 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "JNI_OnLoad_javajpeg" referenced by "/data/app/~~2xTVqTzqtI5R4y6mDrHE0A==/de.myapp.cfxmobile-ZmjpH0G4TxhquxRapj2p0Q==/lib/arm64/libsubstrate.so"...
10-20 13:32:04.660 24861 24861 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
10-20 13:32:04.660 24861 24861 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
10-20 13:32:04.660 24861 24861 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1664)
10-20 13:32:04.660 24861 24861 E AndroidRuntime: at com.gluonhq.helloandroid.MainActivity.surfaceCreated(MainActivity.java:104)
10-20 13:32:04.660 24861 24861 E AndroidRuntime: at android.view.SurfaceView.updateSurface(SurfaceView.java:1153)
10-20 13:32:04.660 24861 24861 E AndroidRuntime: at android.view.SurfaceView.lambda$new$0$SurfaceView(SurfaceView.java:173)
Probably related, probably not: On my Fedora 34 machine, the regular Java runtime fails to display JPEG files since an Fedora update. To eliminate my local machine I tested using Github actions, but got the same problem with the resulting APK.