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

Many androids device crash on start! #1367

Open
ckarmy opened this issue Aug 10, 2020 · 7 comments
Open

Many androids device crash on start! #1367

ckarmy opened this issue Aug 10, 2020 · 7 comments

Comments

@ckarmy
Copy link
Contributor

ckarmy commented Aug 10, 2020

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?

@ichan-mb
Copy link
Member

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

@ckarmy
Copy link
Contributor Author

ckarmy commented Aug 11, 2020

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)

@ckarmy
Copy link
Contributor Author

ckarmy commented Aug 11, 2020

I downgrade to 1.4. To many errors in a few hours (more than 1900 cases):
image

With version 1.4 there are no errors

@ckarmy
Copy link
Contributor Author

ckarmy commented Aug 13, 2020

Any suggestion? Maybe to setup Architectures in unoproj?

@AndrewEQ
Copy link
Contributor

AndrewEQ commented Oct 9, 2020

Did you use Mobile.ShowStatusbar in your .unoproj?

@ckarmy
Copy link
Contributor Author

ckarmy commented Oct 9, 2020

Did you use Mobile.ShowStatusbar in your .unoproj?

No, I need to use it?

@AndrewEQ
Copy link
Contributor

AndrewEQ commented Oct 9, 2020

No, I just identified it as a possible problem... have you tried removing your modules one by one to narrow down the cause?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants