-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running APK: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "JNI_OnLoad_javajpeg" referenced by [..]/lib&arm64/libsubstrate.so" #377
Comments
Did you try with https://github.com/gluonhq/graal/releases/tag/gluon-21.2.0-dev-20210621_1207 Note: This is a Gluon build and not the standard GraalVM build. |
No, I hadn't. I just did and the result (with an APK built with that GraalVM build) is the same.
The native image produced for my Linux machine still runs without problems using this build. |
@taranion |
Oh! Yesterday I filed a bug about this: oracle/graal#6729 |
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
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.
The text was updated successfully, but these errors were encountered: