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: library "libjsi.so" not found #48177

Closed
eagle2024-web opened this issue Dec 9, 2024 · 4 comments
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Resolution: Cannot Reproduce Type: Unsupported Version Issues reported to a version of React Native that is no longer supported

Comments

@eagle2024-web
Copy link

Description

java.lang.UnsatisfiedLinkError: dlopen failed: library "libjsi.so" not found

Steps to reproduce

The problem cannot be reproduced locally, but hundreds of users of our online version have experienced this crash.

React Native Version

0.73.2

Affected Platforms

Runtime - Android

Output of npx react-native info

npx react-native info

  WARNING: You should run npx react-native@latest to ensure you're always using the most current version of the CLI. NPX has cached version (0.73.2) != current release (0.76.4)
  
info Fetching system and libraries information...
System:
  OS: Windows 11 10.0.22631
  CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700
  Memory: 28.90 GB / 63.70 GB
Binaries:
  Node:
    version: 18.19.0
    path: D:\Program Files (x86)\nvmnode\node.EXE
  Yarn:
    version: 1.22.21
    path: ~\AppData\Roaming\npm\yarn.CMD
  npm:
    version: 10.2.3
    path: D:\Program Files (x86)\nvmnode\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: Not Found
  Visual Studio: Not Found
Languages:
  Java: 17.0.9
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.2
    wanted: 0.73.2
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs

java.lang.UnsatisfiedLinkError: dlopen failed: library "libjsi.so" not found: needed by /data/data/cn.package/app_lib/libhermes.so in namespace clns-5

Fatal Exception: java.lang.UnsatisfiedLinkError
dlopen failed: library "libhermes.so" not found
java.lang.Runtime.loadLibrary0 (Runtime.java:1081)

com.facebook.react.ReactInstanceManagerBuilderProxy.build (ReactInstanceManagerBuilderProxy.java:344)

Reproducer

cannot Reproducer

Screenshots and Videos

no

@react-native-bot
Copy link
Collaborator

Warning

Unsupported version: 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.

@react-native-bot react-native-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. and removed Needs: Triage 🔍 labels Dec 9, 2024
@react-native-bot
Copy link
Collaborator

Warning

Unsupported version: 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.

@react-native-bot
Copy link
Collaborator

Warning

Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:

@cortinico
Copy link
Contributor

This issue has been discussed already a number of times:
https://github.com/facebook/react-native/issues?q=sort%3Aupdated-desc+is%3Aissue+%22java.lang.UnsatisfiedLinkError%3A+dlopen+failed%22+is%3Aclosed

The problem happens when your app can't load any of the dynamic libraries. Sadly without a reproducer we can't help at all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Resolution: Cannot Reproduce 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