fuselibs
fuselibs copied to clipboard
Many androids device crash on start!
In the developer console I'm reporting many crash when the user open the app...
The error is:
java.lang.UnsatisfiedLinkError:
at java.lang.Runtime.loadLibrary0 (Runtime.java:1016)
at java.lang.System.loadLibrary (System.java:1669)
at com.uno.CppManager.LoadLibraries (CppManager.java:27)
at com.fuse.App.<clinit> (App.java:43)
at com.fuse.App.Create (App.java:62)
at com.PreuPDV.PreuPDV.<init> (PreuPDV.java:46)
at java.lang.Class.newInstance (Native Method)
at android.app.AppComponentFactory.instantiateActivity (AppComponentFactory.java:69)
at androidx.core.app.CoreComponentFactory.instantiateActivity (CoreComponentFactory.java:41)
at android.app.Instrumentation.newActivity (Instrumentation.java:1219)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3015)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3258)
at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1955)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7073)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:964)
I use this version of fuse:
"devDependencies": {
"@fuse-open/fuselibs": "https://ci.appveyor.com/api/buildjobs/1e5itniolluxteml/artifacts/fuse-open-fuselibs-2.0.0-beta.0.tgz",
"@fuse-open/uno": "https://ci.appveyor.com/api/buildjobs/fbjn07mn64e39smo/artifacts/fuse-open-uno-2.0.0-beta.3.tgz"
}
How can I solve this?
I'm guessing because it's failed to load the application library (the .so file). Can you investigate what kind of android device that has the problems in the developer console?
It might be related to the output of the ABI (architecture Binary Interface e.g armv7, arm64, x86, etc) that is not available on the device that has the problem
Thanks for the reply! Some of the device are:
- Motorola moto g(7) play, brightness_1, Android 9 (SDK 28) (160 cases)
- Samsung Galaxy A10s, brightness_1, Android 10 (SDK 29) (417 cases)
- Samsung Galaxy J8 brightness_1, Android 9 (SDK 28)
I downgrade to 1.4. To many errors in a few hours (more than 1900 cases):
With version 1.4 there are no errors
Any suggestion? Maybe to setup Architectures
in unoproj
?
Did you use Mobile.ShowStatusbar in your .unoproj?
Did you use Mobile.ShowStatusbar in your .unoproj?
No, I need to use it?
No, I just identified it as a possible problem... have you tried removing your modules one by one to narrow down the cause?