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

couldn't find DSO to load: libhermes.so SoSource 0: com.facebook.soloader.ApkSoSource #44279

Closed
sudhanshu-busy opened this issue Apr 26, 2024 · 7 comments
Labels
Needs: Attention Issues where the author has responded to feedback. Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Resolution: Duplicate Type: Unsupported Version Issues reported to a version of React Native that is no longer supported

Comments

@sudhanshu-busy
Copy link

Description

Issue coming in Firebase

Steps to reproduce

Issue is in production

React Native Version

0.70.3

Affected Platforms

Runtime - Android

Output of npx react-native info

System:
    OS: macOS 14.1
    CPU: (11) arm64 Apple M3 Pro
    Memory: 987.02 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.5.0 - /opt/homebrew/bin/node
    Yarn: Not Found
    npm: 10.2.4 - /opt/homebrew/bin/npm
    Watchman: 2024.01.22.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.14.3 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, visionOS 1.0, watchOS 10.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 2023.1 AI-231.9392.1.2311.11255304
    Xcode: 15.2/15C500b - /usr/bin/xcodebuild
  Languages:
    Java: 17.0.9 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.1.0 => 18.1.0 
    react-native: 0.70.3 => 0.70.3 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Stacktrace or Logs

Fatal Exception: java.lang.UnsatisfiedLinkError
couldn't find DSO to load: libhermes.so SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-main flags = 1] SoSource 1: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-0 flags = 1] SoSource 2: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-1 flags = 1] SoSource 3: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-2 flags = 1] SoSource 4: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-3 flags = 1] SoSource 5: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-4 flags = 1] SoSource 6: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-5 flags = 1] SoSource 7: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-6 flags = 1] SoSource 8: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-7 flags = 1] SoSource 9: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-8 flags = 1] SoSource 10: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-9 flags = 1] SoSource 11: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-10 flags = 1] SoSource 12: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-11 flags = 1] SoSource 13: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-12 flags = 1] SoSource 14: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-13 flags = 1] SoSource 15: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-14 flags = 1] SoSource 16: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-15 flags = 1] SoSource 17: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-16 flags = 1] SoSource 18: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-17 flags = 1] SoSource 19: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-18 flags = 1] SoSource 20: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-19 flags = 1] SoSource <truncated: 6671 chars>


Fatal Exception: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so
	SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-main flags = 1]
	SoSource 1: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-0 flags = 1]
	SoSource 2: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-1 flags = 1]
	SoSource 3: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-2 flags = 1]
	SoSource 4: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-3 flags = 1]
	SoSource 5: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-4 flags = 1]
	SoSource 6: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-5 flags = 1]
	SoSource 7: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-6 flags = 1]
	SoSource 8: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-7 flags = 1]
	SoSource 9: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-8 flags = 1]
	SoSource 10: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-9 flags = 1]
	SoSource 11: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-10 flags = 1]
	SoSource 12: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-11 flags = 1]
	SoSource 13: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-12 flags = 1]
	SoSource 14: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-13 flags = 1]
	SoSource 15: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-14 flags = 1]
	SoSource 16: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-15 flags = 1]
	SoSource 17: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-16 flags = 1]
	SoSource 18: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-17 flags = 1]
	SoSource 19: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-18 flags = 1]
	SoSource 20: com.facebook.soloader.ApkSoSource[root = /data/data/in.busy.app/lib-19 flags = 1]
	SoSource <truncated: 6671 chars>
       at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:1127)
       at com.facebook.soloader.SoLoader.loadLibraryBySoNameImpl(SoLoader.java:943)
       at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:855)
       at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:802)
       at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:772)
       at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:25)
       at com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>(HermesExecutor.java:19)
       at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:23)
       at com.facebook.react.ReactInstanceManagerBuilder.getDefaultJSExecutorFactory(ReactInstanceManagerBuilder.java:393)
       at com.facebook.react.ReactInstanceManagerBuilder.build(ReactInstanceManagerBuilder.java:343)
       at com.facebook.react.ReactNativeHost.createReactInstanceManager(ReactNativeHost.java:96)
       at com.facebook.react.ReactNativeHost.getReactInstanceManager(ReactNativeHost.java:42)
       at in.busy.app.MainApplication.onCreate(MainApplication.java:69)
       at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1194)
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6735)
       at android.app.ActivityThread.access$1300(ActivityThread.java:239)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1915)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:223)
       at android.app.ActivityThread.main(ActivityThread.java:7680)
       at java.lang.reflect.Method.invokeNative(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:423)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Reproducer

N/A

Screenshots and Videos

Screenshot 2024-04-25 at 10 26 47 AM
Copy link

⚠️ Unsupported Version of React Native
ℹ️ It looks like your issue or the example you provided uses an unsupported version of React Native.

Due to the number of issues we receive, we're currently only accepting new issues against one of the supported versions. Please upgrade to latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If you cannot upgrade, please open your issue on StackOverflow to get further community support.

@github-actions github-actions bot added Type: Unsupported Version Issues reported to a version of React Native that is no longer supported Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Apr 26, 2024
Copy link

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@cortinico
Copy link
Contributor

Closing as there are so many similar issues already answered like this one:
https://github.com/facebook/react-native/issues?q=is%3Aissue+sort%3Aupdated-desc+%22couldn%27t+find+DSO%22+is%3Aclosed

@Abhishek-Khanduri
Copy link

Abhishek-Khanduri commented May 14, 2024

@sudhanshu-busy Any luck on this?
I am also getting the same error, getting this error after I disabled Hermes om my app.

This is the output of npx react-native info for me:

System:
    OS: macOS 14.2.1
    CPU: (8) arm64 Apple M2
    Memory: 121.06 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
    Yarn: 1.22.21 - /opt/homebrew/bin/yarn
    npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
    Watchman: 2024.04.08.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: Not Found
  SDKs:
    iOS SDK: Not Found
    Android SDK: Not Found
  IDEs:
    Android Studio: 2022.3 AI-223.8836.35.2231.11090377
    Xcode: /undefined - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.22 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.1.0 => 18.1.0
    react-native: 0.70.6 => 0.70.6
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

@sudhanshu-busy
Copy link
Author

@Abhishek-Khanduri Still can't figure out the actual solution.

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels May 14, 2024
@Abhishek-Khanduri
Copy link

@sudhanshu-busy Then how are you managing your app? Do you know any workarounds?

@sudhanshu-busy
Copy link
Author

@Abhishek-Khanduri no solution yet don't no what to do. Right now just ignoring it and searching for solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Attention Issues where the author has responded to feedback. Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Resolution: Duplicate Type: Unsupported Version Issues reported to a version of React Native that is no longer supported
Projects
None yet
Development

No branches or pull requests

3 participants