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

When i have upgraded RN to 0.71.11 And its getting crash on libhermes-executor-release.so #48010

Closed
Syedanas007 opened this issue Nov 29, 2024 · 2 comments

Comments

@Syedanas007
Copy link

Description

While am running the application in the RN 0.71.11 its getting a crash in the application and in the logcat i was able to point it inro the java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes-executor-release.so

Steps to reproduce

1.Npm install
2. Sync the Gradle from the Android Studio
3. Run the apllication
4. Check the Logcat terminal

React Native Version

0.71.11

Affected Platforms

Runtime - Android

Output of npx react-native info

System:
    OS: Windows 10 10.0.26100
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-1235U
    Memory: 1.91 GB / 15.69 GB
  Binaries:
    Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK:
      API Levels: 29, 30, 31, 32, 33, 33, 33, 34, 35
      Build Tools: 28.0.3, 30.0.2, 30.0.3, 33.0.0, 33.0.1, 34.0.0, 35.0.0, 36.0.0
      System Images: android-33 | Google APIs Intel x86_64 Atom, android-33 | Google Play Intel x86_64 Atom, android-34 | Android TV ARM 64 v8a, android-34 | Android TV Intel x86 Atom, android-34 | Google TV ARM 64 v8a, android-34 | Google TV Intel x86 Atom, android-34 | Google APIs ARM 64 v8a, android-34 | Google APIs Intel x86_64 Atom, android-34 | Google Play Intel x86_64 Atom, android-35 | Google Play Intel x86_64 Atom, android-UpsideDownCakePrivacySandbox | Google Play Intel x86_64 Atom, android-VanillaIceCream | Google APIs ARM 64 v8a, android-VanillaIceCream | Google APIs Intel x86_64 Atom, android-VanillaIceCream | Google Play ARM 64 v8a, android-VanillaIceCream | Google Play Intel x86_64 Atom, android-VanillaIceCream | Pre-Release 16 KB Page Size Google APIs ARM 64 v8a, android-VanillaIceCream | Pre-Release 16 KB Page Size Google APIs Intel x86_64 Atom
      Android NDK: Not Found
    Windows SDK:
      AllowAllTrustedApps: Disabled
      Versions: 10.0.17763.0, 10.0.19041.0
  IDEs:
    Android Studio: AI-223.8836.35.2231.10406996
    Visual Studio: 16.11.34301.259 (Visual Studio Community 2019)
  Languages:
    Java: 17.0.12
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: ^0.65.1 => 0.65.2
    react-native-windows: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Stacktrace or Logs

FATAL EXCEPTION: main
                                                                                                    Process: com.enforcesolutions, PID: 11281
                                                                                                    java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes-executor-release.so
                                                                                                    	SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/com.enforcesolutions/lib-main flags = 1]
                                                                                                    	SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/~~kNTS-dackQa3ZMtcyPEH2w==/com.enforcesolutions-VJexidW4soRYQhhAkomRvQ==/lib/x86_64 flags = 0]
                                                                                                    	SoSource 2: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]
                                                                                                    	SoSource 3: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]
                                                                                                    	Native lib dir: /data/app/~~kNTS-dackQa3ZMtcyPEH2w==/com.enforcesolutions-VJexidW4soRYQhhAkomRvQ==/lib/x86_64
                                                                                                     result: 0
                                                                                                    	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:30)
                                                                                                    	at com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>(HermesExecutor.java:19)
                                                                                                    	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 com.facebook.react.ReactDelegate.loadApp(ReactDelegate.java:104)
                                                                                                    	at com.facebook.react.ReactActivityDelegate.loadApp(ReactActivityDelegate.java:111)
                                                                                                    	at com.facebook.react.ReactActivityDelegate.onCreate(ReactActivityDelegate.java:106)
                                                                                                    	at com.facebook.react.ReactActivity.onCreate(ReactActivity.java:46)
                                                                                                    	at com.enforcesolutions.MainActivity.onCreate(MainActivity.java:46)
                                                                                                    	at android.app.Activity.performCreate(Activity.java:8595)
                                                                                                    	at android.app.Activity.performCreate(Activity.java:8573)
                                                                                                    	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456)
                                                                                                    	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3764)
                                                                                                    	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922)
                                                                                                    	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)
                                                                                                    	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:205)
                                                                                                    	at android.os.Looper.loop(Looper.java:294)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:8177)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
2024-11-29 09:57:11.053 11281-11281 Process                 com.enforcesolutions                 I  Sending signal. PID: 11281 SIG: 9

Reproducer

https://github.com/Syedanas007/EnforceApp

Screenshots and Videos

No response

@react-native-bot
Copy link
Collaborator

Caution

Too old version: It looks like your issue or the example you provided uses a Too Old 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

Caution

Too old version: It looks like your issue or the example you provided uses a Too Old 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.

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

No branches or pull requests

2 participants