You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
Installed app crashes with error
dlopen failed: cannot locate symbol "JNI_OnLoad_javajpeg"
Steps to reproduce the issue
mvn -e -X -Pandroid gluonfx:build
mvn -e -X -Pandroid gluonfx:package
mvn -e -X -Pandroid gluonfx:install
mvn -e -X -Pandroid gluonfx:nativerun
Environment
graalvm-svm-java17-linux-gluon-22.1.0.1-Final
JDK-11 or JDK-17 (tried both)
maven 3.8.8
JavaFX 17 LTS
Ubuntu 22.04 LTS
AMD64
More details
It seesm that not all dependencies are compiled or packaged. The problem is described here: StackOverflow.
Git repository is not public but please feel free to ask to manage access to it.
[INFO] [SUB] --------- beginning of crash
[INFO] [SUB] E/AndroidRuntime(28624): FATAL EXCEPTION: main
[INFO] [SUB] E/AndroidRuntime(28624): Process: com.thevegcat.TheVegCatApp, PID: 28624
[INFO] [SUB] E/AndroidRuntime(28624): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "JNI_OnLoad_javajpeg" referenced by "/data/app/~~MsvDADBiJ40PbJ6YgoWjVw==/com.thevegcat.TheVegCatApp-jeiDsmOewudHMN1dhopxxA==/lib/arm64/libsubstrate.so"...
[INFO] [SUB] E/AndroidRuntime(28624): at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
[INFO] [SUB] E/AndroidRuntime(28624): at java.lang.Runtime.loadLibrary0(Runtime.java:998)
[INFO] [SUB] E/AndroidRuntime(28624): at java.lang.System.loadLibrary(System.java:1656)
[INFO] [SUB] E/AndroidRuntime(28624): at com.gluonhq.helloandroid.MainActivity.surfaceCreated(MainActivity.java:107)
EDIT: Duplicate of gluonhq/gluonfx-maven-plugin#377
Describe the issue
Installed app crashes with error
Steps to reproduce the issue
Environment
More details
It seesm that not all dependencies are compiled or packaged. The problem is described here: StackOverflow.
Git repository is not public but please feel free to ask to manage access to it.
pom.xml
The text was updated successfully, but these errors were encountered: