Skip to content
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

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "JNI_OnLoad_fontmanager" referenced by #1261

Open
ctoabidmaqbool opened this issue Jul 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ctoabidmaqbool
Copy link

I have run my Android OpenPdf Project on Android using:

./gradlew :OpenPDF:clean :OpenPDF:build :OpenPdf:nativeBuild :OpenPDF:nativePackage :OpenPDF:nativeInstall :OpenPDF:nativeRun

There error/logs:

[Sun Jul 21 12:08:27 PKT 2024][INFO] ==================== RUN TASK ====================
[Sun Jul 21 12:08:27 PKT 2024][FINE] PB Command for clearLog: /mnt/d/AndroidSDKLinux/platform-tools/adb logcat -c
[Sun Jul 21 12:08:27 PKT 2024][FINE] PB Command for run: /mnt/d/AndroidSDKLinux/platform-tools/adb shell monkey -p gluonsamplesgradle.OpenPDF 1
[Sun Jul 21 12:08:27 PKT 2024][FINE] Start process clearLog...
[Sun Jul 21 12:08:27 PKT 2024][FINE] Start process run...
[Sun Jul 21 12:08:27 PKT 2024][FINE] [SUB]   bash arg: -p
[Sun Jul 21 12:08:27 PKT 2024][FINE] [SUB]   bash arg: gluonsamplesgradle.OpenPDF
[Sun Jul 21 12:08:27 PKT 2024][FINE] [SUB]   bash arg: 1
[Sun Jul 21 12:08:27 PKT 2024][FINE] Result for clearLog: 0
[Sun Jul 21 12:08:27 PKT 2024][FINE] PB Command for log: /mnt/d/AndroidSDKLinux/platform-tools/adb logcat -v brief -v color GraalCompiled:V GraalActivity:V GraalGluon:V GluonAttach:V AndroidRuntime:E ActivityManager:W *:S
[Sun Jul 21 12:08:27 PKT 2024][FINE] Start process log...
[Sun Jul 21 12:08:27 PKT 2024][INFO] [SUB] --------- beginning of main
[Sun Jul 21 12:08:27 PKT 2024][INFO] [SUB] --------- beginning of system
[Sun Jul 21 12:08:29 PKT 2024][FINE] [SUB] args: [-p, gluonsamplesgradle.OpenPDF, 1]
[Sun Jul 21 12:08:29 PKT 2024][FINE] [SUB]  arg: "-p"
[Sun Jul 21 12:08:29 PKT 2024][FINE] [SUB]  arg: "gluonsamplesgradle.OpenPDF"
[Sun Jul 21 12:08:29 PKT 2024][FINE] [SUB]  arg: "1"
[Sun Jul 21 12:08:29 PKT 2024][FINE] [SUB] data="gluonsamplesgradle.OpenPDF"
[Sun Jul 21 12:08:29 PKT 2024][FINE] [SUB] Events injected: 1
[Sun Jul 21 12:08:29 PKT 2024][FINE] [SUB] ## Network stats: elapsed time=39ms (0ms mobile, 0ms wifi, 39ms not connected)
[Sun Jul 21 12:08:29 PKT 2024][FINE] Result for run: 0
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onCreate start, using Android Logging v1�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onCreate start, using Android Logging v1�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onCreate start, using Android Logging v1�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onCreate done�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onCreate done�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onCreate done�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onStart�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onStart done�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onResume�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onResume done�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onStart�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onStart�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onStart done�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onStart done�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onResume�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onResume�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onResume done�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): onResume done�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): type=1400 audit(0.0:126128): avc: denied { open } for path="/sys/devices/platform/battery/power_supply/battery/capacity" dev="sysfs" ino=24582 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=0�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): type=1400 audit(0.0:126128): avc: denied { open } for path="/sys/devices/platform/battery/power_supply/battery/capacity" dev="sysfs" ino=24582 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=0�[0m
[Sun Jul 21 12:08:29 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): type=1400 audit(0.0:126128): avc: denied { open } for path="/sys/devices/platform/battery/power_supply/battery/capacity" dev="sysfs" ino=24582 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=0�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): surfaceCreated for com.gluonhq.helloandroid.MainActivity@ada620d�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): surfaceCreated for com.gluonhq.helloandroid.MainActivity@ada620d�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): surfaceCreated for com.gluonhq.helloandroid.MainActivity@ada620d�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): loading substrate library�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): loading substrate library�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;231mV/GraalActivity(15297): loading substrate library�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): FATAL EXCEPTION: main�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): Process: gluonsamplesgradle.OpenPDF, PID: 15297�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "JNI_OnLoad_fontmanager" referenced by "/data/app/gluonsamplesgradle.OpenPDF-l43RPH-ZzybxU5YwYkZTpA==/lib/arm64/libsubstrate.so"...�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): FATAL EXCEPTION: main�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at java.lang.Runtime.loadLibrary0(Runtime.java:1016)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): Process: gluonsamplesgradle.OpenPDF, PID: 15297�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at java.lang.System.loadLibrary(System.java:1669)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "JNI_OnLoad_fontmanager" referenced by "/data/app/gluonsamplesgradle.OpenPDF-l43RPH-ZzybxU5YwYkZTpA==/lib/arm64/libsubstrate.so"...�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at com.gluonhq.helloandroid.MainActivity.surfaceCreated(MainActivity.java:107)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] --------- beginning of crash
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at java.lang.Runtime.loadLibrary0(Runtime.java:1016)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.SurfaceView.updateSurface(SurfaceView.java:711)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): FATAL EXCEPTION: main�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at java.lang.System.loadLibrary(System.java:1669)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.SurfaceView$2.onPreDraw(SurfaceView.java:159)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): Process: gluonsamplesgradle.OpenPDF, PID: 15297�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at com.gluonhq.helloandroid.MainActivity.surfaceCreated(MainActivity.java:107)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:977)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "JNI_OnLoad_fontmanager" referenced by "/data/app/gluonsamplesgradle.OpenPDF-l43RPH-ZzybxU5YwYkZTpA==/lib/arm64/libsubstrate.so"...�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.SurfaceView.updateSurface(SurfaceView.java:711)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2630)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at java.lang.Runtime.loadLibrary0(Runtime.java:1016)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.SurfaceView$2.onPreDraw(SurfaceView.java:159)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1550)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at java.lang.System.loadLibrary(System.java:1669)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:977)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7503)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at com.gluonhq.helloandroid.MainActivity.surfaceCreated(MainActivity.java:107)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:977)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.SurfaceView.updateSurface(SurfaceView.java:711)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2630)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.Choreographer.doCallbacks(Choreographer.java:785)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1550)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.SurfaceView$2.onPreDraw(SurfaceView.java:159)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.Choreographer.doFrame(Choreographer.java:717)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7503)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:977)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:963)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:977)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2630)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.os.Handler.handleCallback(Handler.java:873)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.Choreographer.doCallbacks(Choreographer.java:785)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1550)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.os.Handler.dispatchMessage(Handler.java:99)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.Choreographer.doFrame(Choreographer.java:717)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7503)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.os.Looper.loop(Looper.java:193)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:977)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.app.ActivityThread.main(ActivityThread.java:6819)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:963)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.Choreographer.doCallbacks(Choreographer.java:785)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.os.Handler.handleCallback(Handler.java:873)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at java.lang.reflect.Method.invoke(Native Method)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.Choreographer.doFrame(Choreographer.java:717)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.os.Handler.dispatchMessage(Handler.java:99)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:497)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:963)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.os.Looper.loop(Looper.java:193)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:912)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.os.Handler.handleCallback(Handler.java:873)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.app.ActivityThread.main(ActivityThread.java:6819)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771):   Force finishing activity gluonsamplesgradle.OpenPDF/com.gluonhq.helloandroid.MainActivity�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.os.Handler.dispatchMessage(Handler.java:99)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at java.lang.reflect.Method.invoke(Native Method)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.os.Looper.loop(Looper.java:193)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:497)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at android.app.ActivityThread.main(ActivityThread.java:6819)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:912)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at java.lang.reflect.Method.invoke(Native Method)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Activity pause timeout for ActivityRecord{ff0cb32 u0 gluonsamplesgradle.OpenPDF/com.gluonhq.helloandroid.MainActivity t307 f}�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771):   Force finishing activity gluonsamplesgradle.OpenPDF/com.gluonhq.helloandroid.MainActivity�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:497)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Activity pause timeout for ActivityRecord{ff0cb32 u0 gluonsamplesgradle.OpenPDF/com.gluonhq.helloandroid.MainActivity t307 f}�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;196mE/AndroidRuntime(15297): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:912)�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771):   Force finishing activity gluonsamplesgradle.OpenPDF/com.gluonhq.helloandroid.MainActivity�[0m
[Sun Jul 21 12:08:30 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Activity pause timeout for ActivityRecord{ff0cb32 u0 gluonsamplesgradle.OpenPDF/com.gluonhq.helloandroid.MainActivity t307 f}�[0m
[Sun Jul 21 12:08:33 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771):   Force finishing activity gluonsamplesgradle.OpenPDF/com.gluonhq.helloandroid.MainActivity�[0m
 [Sun Jul 21 12:08:33 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771):   Force finishing activity gluonsamplesgradle.OpenPDF/com.gluonhq.helloandroid.MainActivity�[0m
[Sun Jul 21 12:08:33 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771):   Force finishing activity gluonsamplesgradle.OpenPDF/com.gluonhq.helloandroid.MainActivity�[0m
[Sun Jul 21 12:08:33 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): setHasOverlayUi called on unknown pid: 15297�[0m
[Sun Jul 21 12:08:33 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): setHasOverlayUi called on unknown pid: 15297�[0m
[Sun Jul 21 12:08:33 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): setHasOverlayUi called on unknown pid: 15297�[0m
[Sun Jul 21 12:11:55 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Slow operation: 169ms so far, now at attachApplicationLocked: after mServices.attachApplicationLocked�[0m
[Sun Jul 21 12:11:55 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Slow operation: 169ms so far, now at attachApplicationLocked: after mServices.attachApplicationLocked�[0m
[Sun Jul 21 12:11:55 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Slow operation: 169ms so far, now at attachApplicationLocked: after mServices.attachApplicationLocked�[0m
[Sun Jul 21 12:11:56 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Slow operation: 174ms so far, now at attachApplicationLocked: after sendPendingBroadcastsLocked�[0m
[Sun Jul 21 12:11:56 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Slow operation: 174ms so far, now at attachApplicationLocked: after sendPendingBroadcastsLocked�[0m
[Sun Jul 21 12:11:56 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Slow operation: 174ms so far, now at attachApplicationLocked: after sendPendingBroadcastsLocked�[0m
[Sun Jul 21 12:12:02 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Invalid packageName: com.openrate.goodmorni�[0m
[Sun Jul 21 12:12:02 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Invalid packageName: com.openrate.goodmorni�[0m
[Sun Jul 21 12:12:02 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Invalid packageName: com.openrate.goodmorni�[0m
[Sun Jul 21 12:12:14 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Invalid packageName: com.openrate.goodmorni�[0m
[Sun Jul 21 12:12:14 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Invalid packageName: com.openrate.goodmorni�[0m
[Sun Jul 21 12:12:14 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Invalid packageName: com.openrate.goodmorni�[0m
[Sun Jul 21 12:12:19 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Scheduling restart of crashed service com.transsion.keyguardgesture/.service.KeyguardGestureService in 1000ms�[0m
[Sun Jul 21 12:12:19 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Scheduling restart of crashed service com.transsion.keyguardgesture/.service.KeyguardGestureService in 1000ms�[0m
[Sun Jul 21 12:12:19 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Scheduling restart of crashed service com.transsion.keyguardgesture/.service.KeyguardGestureService in 1000ms�[0m
[Sun Jul 21 12:12:24 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Invalid packageName: com.touchtao.ws2014google�[0m
[Sun Jul 21 12:12:24 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Invalid packageName: com.touchtao.ws2014google�[0m
[Sun Jul 21 12:12:24 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Invalid packageName: com.touchtao.ws2014google�[0m
[Sun Jul 21 12:12:24 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Invalid packageName: com.tencent.tmgp.pvz2hdtxyyb�[0m
[Sun Jul 21 12:12:24 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Invalid packageName: com.tencent.tmgp.pvz2hdtxyyb�[0m
[Sun Jul 21 12:12:24 PKT 2024][INFO] [SUB] �[38;5;166mW/ActivityManager( 1771): Invalid packageName: com.tencent.tmgp.pvz2hdtxyyb�[0m
[Sun Jul 21 12:13:25 PKT 2024][FINE] Result for log: 255
[Sun Jul 21 12:13:25 PKT 2024][FINE] Result for log: 255
[Sun Jul 21 12:13:25 PKT 2024][FINE] Result for log: 255
[Sun Jul 21 12:13:25 PKT 2024][SEVERE] Process log failed with result: 255
Check the log files under /mnt/d/JavaFx-Android/gluon-samples-gradle/OpenPDF/build/gluonfx/aarch64-android/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[Sun Jul 21 12:13:25 PKT 2024][SEVERE] Process log failed with result: 255
Check the log files under /mnt/d/JavaFx-Android/gluon-samples-gradle/OpenPDF/build/gluonfx/aarch64-android/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[Sun Jul 21 12:13:25 PKT 2024][SEVERE] Process log failed with result: 255
Check the log files under /mnt/d/JavaFx-Android/gluon-samples-gradle/OpenPDF/build/gluonfx/aarch64-android/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[Sun Jul 21 12:13:25 PKT 2024][INFO] Logging process [log] to file: /mnt/d/JavaFx-Android/gluon-samples-gradle/OpenPDF/build/gluonfx/log/process-log-1721546005134.log
[Sun Jul 21 12:13:25 PKT 2024][INFO] Logging process [log] to file: /mnt/d/JavaFx-Android/gluon-samples-gradle/OpenPDF/build/gluonfx/log/process-log-1721546005139.log
[Sun Jul 21 12:13:25 PKT 2024][INFO] Logging process [log] to file: /mnt/d/JavaFx-Android/gluon-samples-gradle/OpenPDF/build/gluonfx/log/process-log-1721546005141.log

my :OpenPDF -> build.gradle file:

mainClassName = 'com.gluonapplication.JavafxAppRunner'

application {
    mainClass = 'com.gluonapplication.JavafxAppRunner'
}

dependencies {
    runtimeOnly 'com.gluonhq.attach:storage:4.0.21:desktop'

    implementation 'com.github.librepdf:openpdf:2.0.2'
    implementation 'ro.andob.androidawt:androidawt:1.0.4'
}

javafx {
    version = "$libraryVersions.javafx"
    modules = ['javafx.controls', 'javafx.base', 'javafx.graphics']
}

gluonfx {
    target = 'android' // Uncomment to enable Android
    attachConfig {
        version = "4.0.21"
        services 'display', 'lifecycle', 'statusbar', 'storage'
    }
    release {
        // Android
        appLabel = "Gluon Gradle OpenPdf"
        versionCode = "1"
        versionName = "1.0"
        providedKeyStorePath = "my-ke.keystore"
        providedKeyStorePassword = "D}?qB2y2]u"
        providedKeyAlias = "My Key"
        providedKeyAliasPassword = "W67dYV<)Sz"
    }
}

root build.gradle

plugins {
    id 'base'
    id 'org.openjfx.javafxplugin' version '0.1.0'
    id 'com.gluonhq.gluonfx-gradle-plugin' version '1.0.23' apply false
}

ext.libraryVersions = [
        attach : '4.0.21',
        glisten: '6.2.3',
        javafx : '21.0.2'
]

subprojects {
    apply plugin: 'application'
    apply plugin: 'com.gluonhq.gluonfx-gradle-plugin'

    configure([project(':HelloFX'), project(':HelloFXML'), project(':HelloGluon'), project(':OpenPDF')]) {
        apply plugin: 'org.openjfx.javafxplugin'
    }

    repositories {
        mavenCentral()
        maven {
            url 'https://nexus.gluonhq.com/nexus/content/repositories/releases'
        }
        maven {
            url 'https://oss.sonatype.org/content/repositories/snapshots'
        }
        maven {
            url 'https://andob.io/repository/open_source'
        }
    }

    gluonfx {
        target = 'android' // Uncomment to enable Android

        if (project.hasProperty('target')) {
            target = project.getProperty('target')
        }
        graalvmHome = "/mnt/d/Programs/graalvm-svm-java17-linux-gluon-22.1.0.1-Final"
        enableSwRendering = true
    }
}

root setting.gradle:

pluginManagement {
    repositories {
        mavenCentral()
        gradlePluginPortal()
        maven {
            url 'https://nexus.gluonhq.com/nexus/content/repositories/releases'
        }
        maven {
            url 'https://oss.sonatype.org/content/repositories/snapshots'
        }
    }
}

rootProject.name = 'gluon-samples-gradle'

include 'HelloFX', 'HelloFXML', 'HelloGluon', 'HelloWorld', 'OpenPDF'

@ctoabidmaqbool ctoabidmaqbool added the bug Something isn't working label Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant