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

Help me, I've done several settings and still the app crashes in the soloader #102

Closed
MarcosSarges opened this issue May 22, 2022 · 5 comments

Comments

@MarcosSarges
Copy link

  • ERROR Crashlytics

Screen Shot 2022-05-21 at 22 44 04


  • android/build.gradle

Screen Shot 2022-05-21 at 09 49 04

Screen Shot 2022-05-21 at 09 48 56


  • android/app/build.gradle

Screen Shot 2022-05-21 at 09 47 59

Screen Shot 2022-05-21 at 09 48 11

Screen Shot 2022-05-21 at 09 48 32

Screen Shot 2022-05-21 at 09 48 40


  • MainActivity.java

Screen Shot 2022-05-21 at 22 49 01


  • Gradle Version: 6.9-all

  • RN INFO
System:
    OS: macOS 12.4
    CPU: (8) arm64 Apple M1
    Memory: 125.16 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 14.17.3 - ~/.nvm/versions/node/v14.17.3/bin/node
    Yarn: 1.22.18 - ~/<>/<>/<>/node_modules/.bin/yarn
    npm: 6.14.13 - ~/.nvm/versions/node/v14.17.3/bin/npm
    Watchman: 2022.03.21.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.10.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK:
      API Levels: 21, 27, 28, 29, 30, 31
      Build Tools: 28.0.3, 29.0.0, 29.0.2, 29.0.3, 30.0.2, 31.0.0
      System Images: android-28 | Google ARM64-V8a Play ARM 64 v8a, android-31 | Google Play ARM 64 v8a
      Android NDK: 21.3.6528147
  IDEs:
    Android Studio: 2021.2 AI-212.5712.43.2112.8512546
    Xcode: 13.4/13F17a - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.11 - /Users/<>/.jenv/shims/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1 
    react-native: 0.64.2 => 0.64.2 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Any solution?

@DmitriyBetskikh
Copy link

The same Issue!
My application was working fine, I didn't push a new code for about a month, and two days ago I got the same crash when launching the application. I could not solve this problem in any way.
image

@arjun1194
Copy link

getting the same crash

java.lang.UnsatisfiedLinkError: 
  at com.facebook.soloader.SoLoader.doLoadLibraryBySoName (SoLoader.java:1098)
  at com.facebook.soloader.SoLoader.loadLibraryBySoNameImpl (SoLoader.java:914)
  at com.facebook.soloader.SoLoader.loadLibraryBySoName (SoLoader.java:826)
  at com.facebook.soloader.SoLoader.loadLibrary (SoLoader.java:773)
  at com.facebook.soloader.SoLoader.loadLibrary (SoLoader.java:743)
  at com.facebook.react.jscexecutor.JSCExecutor.loadLibrary (JSCExecutor.java:24)
  at com.facebook.react.jscexecutor.JSCExecutor.<clinit> (JSCExecutor.java:20)
  at com.facebook.react.jscexecutor.JSCExecutor.a (JSCExecutor.java)
  at com.facebook.react.ReactInstanceManagerBuilder.getDefaultJSExecutorFactory (ReactInstanceManagerBuilder.java:352)
  at com.facebook.react.ReactInstanceManagerBuilder.build (ReactInstanceManagerBuilder.java:319)
  at com.facebook.react.ReactNativeHost.createReactInstanceManager (ReactNativeHost.java:95)
  at com.facebook.react.ReactNativeHost.getReactInstanceManager (ReactNativeHost.java:42)
  at com.myApplication.MainApplication.onCreate (MainApplication.kt:88)
  at android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1190)
  at android.app.ActivityThread.handleBindApplication (ActivityThread.java:6582)
  at android.app.ActivityThread.access$1400 (ActivityThread.java:224)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1887)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:223)
  at android.app.ActivityThread.main (ActivityThread.java:7562)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:539)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:950)
  

please help, the only other option is to remove facebook and react native from my project

@lfoliveir4
Copy link

lfoliveir4 commented Jul 15, 2022

@MarcosSarges @DmitriyBetskikh @arjun1194 I was also having this same problem and affecting several users in my application. I updated to version 0.10.4 and made a hotfix for my entire user base. This type of crash is no longer being reported to me! Was solved! I made this decision via this commit! So I recommend upgrading to version 0.10.4 of the soloader!

@ivansnek
Copy link

@MarcosSarges @DmitriyBetskikh @arjun1194 I was also having this same problem and affecting several users in my application. I updated to version 0.10.4 and made a hotfix for my entire user base. This type of crash is no longer being reported to me! Was solved! I made this decision via this commit! So I recommend upgrading to version 0.10.4 of the soloader!

@lfoliveir4 how did you updated? I've tried several approaches but no luck so far

1.- I tried the solution proposed here using several versions, 0.10.4 included on both root and app build.gradle files

2.- I tried also adding it as a dependency like

implementation 'com.facebook.soloader:soloader:0.10.4'

I appreciate your help!

Lunziyuan pushed a commit to NeyberTech/react-native that referenced this issue Dec 26, 2022
@Jamal-ReachFirst
Copy link

@MarcosSarges @DmitriyBetskikh @arjun1194 I was also having this same problem and affecting several users in my application. I updated to version 0.10.4 and made a hotfix for my entire user base. This type of crash is no longer being reported to me! Was solved! I made this decision via this commit! So I recommend upgrading to version 0.10.4 of the soloader!

@lfoliveir4 how did you updated? I've tried several approaches but no luck so far

1.- I tried the solution proposed here using several versions, 0.10.4 included on both root and app build.gradle files

2.- I tried also adding it as a dependency like

implementation 'com.facebook.soloader:soloader:0.10.4'

I appreciate your help!

This massively increase the number of crashes. Didn't worked for me

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

7 participants