Closed shreyakupadhyay closed 1 year ago
I believe, React Native is generating two files libhermes-executor-debug.so and libhermes-executor-release.so. However, the react native codebase and our code both reference these files as well as libhermes.so.
react-native/react.gradle at af6aafff90c4d40abfe160c4cfc8e1ae8fa0d956 · facebook/react-native (github.com) react-native/build.gradle at 394486eec584a37920dad447a6c1d0ae24d225fc · facebook/react-native (github.com)
Experiencing same issue as well
I have this issue as well. i was able to fix the couldn't find DSO to load: libhermes.so
by copying libhermes-executor-debug.so to libhermes.so. Still running into couldn't find DSO to load: libjscexecutor.so
.
Same issue here too
2022-11-17 15:24:49.991 16426-16426/? E/SoLoader: couldn't find DSO to load: libjscexecutor.so
Update: Works fine in debug builds
@daveosterjr, can you please mention what helped you? Or what can be a suitable fix that can be done at my end.
@shreyakupadhyay I have yet to find a solution. Still getting this error only on release builds.
Still getting this error only on release builds.
Could you try on a empty project on 0.70 and confirm if the issue is still happening?
"__emutls_get_address" is a method from the libc++_shared.so
and this is referenced by the libfolly_runtime.so
. If you are shipping an older libc++_shared.so
file, this can cause the above crash.
Same error "react": "18.2.0", "react-native": "0.69.7",
com.facebook.react.common.JavascriptException: Error: Exception in HostFunction: java.lang.UnsatisfiedLinkError: dlopen failed: library "libhermes-executor-debug.so" not found: needed by /data/app/~~I2LsT5hS3k3L-_kxSOy6ag==/com.myapp-pgL8fWT6C6epdRQMtAn7OA==/lib/arm64/libreanimated.so in namespace classloader-namespace, js engine: hermes, stack:
I'm facing the same issue and nothing changed in my code, only a restart of my laptop.
We had the same problem.
Temporary workaround is to disable hermes in App build.gradle
project.ext.react = [
enableHermes: false, <<<< Changed from true to false. App is bundling fine again
...
]
couldn't find DSO to load: libhermes.so
This and all the other "couldn't find DSO to load" have been fixed in React Native 0.71 Please upgrade to that version and open specific bugs if the issue persist in your setup.
I still have a few identical crash reports of Fatal Exception: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so
on some production devices. It seems to affect only Android 8.1.0 ones (Nexus 5X) in my case.
Using RN0.71.1 and Hermes.
February 2023 on React Native 0.70.6 and I'm also seeing these crashes on launch on a oneplus android device. So it would seem that unless enableHermes
is set to false
, this is still very much still an open issue. Will try upgrading to latest and report back.
Experiencing the same on Production on Devices running Android 11
RN: 0.71.1 Hermes
Fatal Exception: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so caused by: couldn't find DSO to load: libjsi.so caused by: couldn't find DSO to load: libfolly_runtime.so caused by: couldn't find DSO to load: libglog.so caused by: couldn't find DSO to load: libc++_shared.so caused by: dlopen failed: "/data/data/com.fleeksite.carshop/lib-3/libc++_shared.so" is for EM_AARCH64 (183) instead of EM_X86_64 (62) result: 0 result: 0 result: 0 result: 0 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:26)
at com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>(HermesExecutor.java:20)
at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:24)
at com.facebook.react.ReactInstanceManagerBuilder.getDefaultJSExecutorFactory(ReactInstanceManagerBuilder.java:369)
at com.facebook.react.ReactInstanceManagerBuilder.build(ReactInstanceManagerBuilder.java:316)
at com.facebook.react.ReactNativeHost.createReactInstanceManager(ReactNativeHost.java:94)
at com.facebook.react.ReactNativeHost.getReactInstanceManager(ReactNativeHost.java:41)
at com.fleeksite.carshop.MainApplication.onCreate(MainApplication.java:63)
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.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
I still have this problem with version 0.71.3. When will it be completely solved? It's too troublesome
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/app/~~vbWfXad6lGcgenld5jE95g==/com.jmzhac-RhzywSs5bUi1FvCi03MNcw==/lib/arm64/libfolly_runtime.so"...
at java.lang.Runtime.load0(Runtime.java:929)
at java.lang.System.load(System.java:1621)
at com.facebook.soloader.SoLoader$1.load(SoLoader.java:558)
at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:110)
at com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:63)
at com.facebook.soloader.ApplicationSoSource.loadLibrary(ApplicationSoSource.java:91)
at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:1067)
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:26)
at com.facebook.hermes.reactexecutor.HermesExecutor.
We're seeing this crash in production on RN 0.71.3, on lots of different devices (Google, Motorola, OnePlus, and Android 8, 9, 11). Please could you reopen the issue? Thanks
Same here still seeing this on Android 8 and 11 for one plus and nexus 5 with
Fatal Exception: java.lang.UnsatisfiedLinkError couldn't find DSO to load: libhermes.so SoSource 0: com.facebook.soloader.DirectorySoSource[root = /data/app/com.realegp.usdegp-cNrCZiQ4uaI2vDLPOth0XQ==/lib/x86 flags = 0] SoSource 1: com.facebook.soloader.DirectApkSoSource[root = ()] SoSource 2: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2] SoSource 3: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
react-native-cli: 2.0.1 react-native: 0.71.4
Seeing the same crash on OnePlus 8
Fatal Exception: java.lang.UnsatisfiedLinkError
couldn't find DSO to load: libhermes.so caused by: couldn't find DSO to load: libjsi.so caused by: couldn't find DSO to load: libfolly_runtime.so caused by: couldn't find DSO to load: libglog.so caused by: couldn't find DSO to load: libc++_shared.so caused by: dlopen failed: "/data/data/...../lib-3/libc++_shared.so" is for EM_AARCH64 (183) instead of EM_X86_64 (62) result: 0 result: 0 result: 0 result: 0 result: 0
We need to open another issue I think? I use expo prebuild
couldn't find DSO to load: libhermes.so
This and all the other "couldn't find DSO to load" have been fixed in React Native 0.71 Please upgrade to that version and open specific bugs if the issue persist in your setup.
happening in 0.71.4 again
I fixed it. Check your project's native module that uses libc++_shared.so and update the ndkVersion to 23.1.7779620(or higher?). I update it from 20.0.5594570 to 23.1.7779620.
I fixed it. Check your project's native module that uses libc++_shared.so and update the ndkVersion to 23.1.7779620(or higher?). I update it from 20.0.5594570 to 23.1.7779620.
Works for me thanks. @Iamjakerrrr
@codal-mpawar how did you do it
I fixed it. Check your project's native module that uses libc++_shared.so and update the ndkVersion to 23.1.7779620(or higher?). I update it from 20.0.5594570 to 23.1.7779620.
Works for me thanks. @Iamjakerrrr
I am new to android, can you please tell me step wise, what I supposed to do. Thank in advance
I fixed it. Check your project's native module that uses libc++_shared.so and update the ndkVersion to 23.1.7779620(or higher?). I update it from 20.0.5594570 to 23.1.7779620.
Works for me thanks. @Iamjakerrrr
I am new to android, can you please tell me step wise, what I supposed to do. Thank in advance
I solve the problem in this way its 99% guaranteed
`project.ext.react = [ enableHermes: true, // its false by default make it true ]
def enableHermes = project.ext.react.get("enableHermes", true); //its false by default make it true `
if (enableHermes) { def hermesPath = "../../node_modules/hermes-engine/android/"; debugImplementation files(hermesPath + "hermes-debug.aar") releaseImplementation files(hermesPath + "hermes-release.aar") } else { implementation jscFlavor }
if (enableHermes) {
implementation("com.facebook.react:hermes-engine:+") {
exclude group:'com.facebook.fbjni'
}
} else {
implementation jscFlavor
}
this above should fix your error without any problem.
this above should fix your error without any problem.
Thank you for your prompt solution, but unfortunately I am still facing the same issue
@1stmuse
buildscript {
ext {
minSdkVersion = 21
compileSdkVersion = 33
targetSdkVersion = 31
ndkVersion = "24.0.8215888"
if (System.properties['os.arch'] == "aarch64") {
// For M1 Users we need to use the NDK 24 which added support for aarch64
ndkVersion = "24.0.8215888"
} else {
// Otherwise we default to the side-by-side NDK version from AGP.
ndkVersion = "21.4.7075529"
}
android {
packagingOptions {
pickFirst "**/libc++_shared.so"
resources.excludes.add("META-INF/*")
}
ndkVersion rootProject.ext.ndkVersion
Running 0.71.4. Only thing thing that helped was to set hermesEnabled=false in gradle.properties
Had this problem also, with RN@0.71.6, Tried codel-mpawar's build.gradle change, and also IamJakerrr's NDK update (to ndk-23c), but the app is still crashing with the missing libhermes.so problem.
Happening for v0.71.6 on release builds
java.lang.UnsatisfiedLinkError: dlopen failed: library "libreactnativejni.so" not found: needed by /data/app/~~vDsoGgMrtaiVY9GXzhCt4w==/in.mohalla.video-VN3lKSCOu8tXrfbTPMtRQQ==/lib/arm64/libjscexecutor.so in namespace classloader-namespace
2023-04-18 19:40:32.275 8184-8184 System.err pid-8184 W java.lang.UnsatisfiedLinkError: dlopen failed: library "libjsi.so" not found: needed by /data/app/~~vDsoGgMrtaiVY9GXzhCt4w==/in.mohalla.video-VN3lKSCOu8tXrfbTPMtRQQ==/lib/arm64/libhermes.so in namespace classloader-namespace
2023-04-18 19:40:35.131 8184-8184 AndroidRuntime pid-8184 E FATAL EXCEPTION: main
Process: in.mohalla.video, PID: 8184
java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so caused by: dlopen failed: library "libjsi.so" not found: needed by /data/app/~~vDsoGgMrtaiVY9GXzhCt4w==/in.mohalla.video-VN3lKSCOu8tXrfbTPMtRQQ==/lib/arm64/libhermes.so in namespace classloader-namespace result: 0
at com.facebook.soloader.SoLoader.f(SourceFile:347)
at com.facebook.soloader.SoLoader.l(SourceFile:81)
at com.facebook.soloader.SoLoader.k(SourceFile:102)
at com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>(SourceFile:8)
at com.facebook.react.x.d(SourceFile:290)
at wp1.n.a(SourceFile:77)
at wp1.n$a.invokeSuspend(Unknown Source:11)
at bv0.a.resumeWith(SourceFile:9)
at fy0.y.E0(Unknown Source:6)
at ay0.a.resumeWith(SourceFile:23)
at bv0.a.resumeWith(SourceFile:37)
at ay0.r0.run(SourceFile:111)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7898)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Suppressed: ay0.p0: [i2{Cancelling}@a5db181, Dispatchers.Main]
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libjsi.so" not found: needed by /data/app/~~vDsoGgMrtaiVY9GXzhCt4w==/in.mohalla.video-VN3lKSCOu8tXrfbTPMtRQQ==/lib/arm64/libhermes.so in namespace classloader-namespace
at java.lang.Runtime.load0(Runtime.java:929)
at java.lang.System.load(System.java:1625)
at com.facebook.soloader.p.b(SourceFile:111)
at com.facebook.soloader.d.e(SourceFile:97)
at com.facebook.soloader.d.a(Unknown Source:2)
at com.facebook.soloader.b.a(Unknown Source:2)
at com.facebook.soloader.SoLoader.f(SourceFile:60)
... 19 more
Also happening here - https://github.com/laurent22/joplin/issues/8144#issuecomment-1538691127. Is there any way to get it working? Clearly upgrading to 0.71 doesn't seem to help.
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: FATAL EXCEPTION: main
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: Process: net.cozic.joplin, PID: 26027
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/net.cozic.joplin/lib-main flags = 1]
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/net.cozic.joplin-8J5WOvzx3FbHERZb7-uziw==/lib/arm64 flags = 0]
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: SoSource 2: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: SoSource 3: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: Native lib dir: /data/app/net.cozic.joplin-8J5WOvzx3FbHERZb7-uziw==/lib/arm64
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: result: 0
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:1127)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.facebook.soloader.SoLoader.loadLibraryBySoNameImpl(SoLoader.java:943)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:855)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:802)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:772)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:25)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>(HermesExecutor.java:19)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:23)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.facebook.react.ReactInstanceManagerBuilder.getDefaultJSExecutorFactory(ReactInstanceManagerBuilder.java:393)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.facebook.react.ReactInstanceManagerBuilder.build(ReactInstanceManagerBuilder.java:343)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.facebook.react.ReactNativeHost.createReactInstanceManager(ReactNativeHost.java:96)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.facebook.react.ReactNativeHost.getReactInstanceManager(ReactNativeHost.java:42)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at net.cozic.joplin.MainApplication.onCreate(MainApplication.java:92)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1202)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7601)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at android.app.ActivityThread.access$2600(ActivityThread.java:259)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2440)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:110)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at android.os.Looper.loop(Looper.java:219)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8673)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
05-08 20:21:23.734 10352 26027 26027 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
@tk3cforever I experienced the same and need to disable hermes to able to make it work :|
We had the opposite experience - some users were getting that error "couldn't find DSO to load: libhermes.so" even though enableHermes
was set to false. So we set it to true
and error went away.
Actually, for me, it turned out I had misspelled enableHermes in the app/build.gradle, which when corrected fixed this missing library, but then i got lib/arm64/lib{appname}_appmodules.so not found, (the packager only makes a lib/arm64-v8a and arm7 ones, which I spent many hours on. I tried some build.gradle changes to copy the libmodules.so to the correct location, but so far the android gradle plugin won't accept any new files or filecollections to the PackageApplication.;jniLibs collection (in the aferEvalute part of build.gradle) which is the list of DSO libraries that are copied to dev apk.
try downgrading the react-native-reanimated to 2.1.0 in package.json then run npm install and then try running the app.
I have enabled the Hermes in two locations:
In build.gradle that is inside the app folder and added below code. if (enableHermes) { implementation("com.facebook.react:hermes-android") } else { implementation 'org.webkit:android-jsc-intl:+' }
Note: react-native version 0.71.6
I am facing this issue on below my app.
"react": "17.0.2",
"react-native": "0.66.4",
hermes is enabled
project.ext.react = [
enableHermes: true, // clean and rebuild if changing
]
if (enableHermes) {
def hermesPath = "../../node_modules/hermes-engine/android/";
debugImplementation files(hermesPath + "hermes-debug.aar")
releaseImplementation files(hermesPath + "hermes-release.aar")
} else {
implementation jscFlavor
}
Firebase crash reporting logs
@ankurjd Did you find any solution?
I am facing this issue on below my app.
"react": "17.0.2", "react-native": "0.66.4",
hermes is enabled
project.ext.react = [ enableHermes: true, // clean and rebuild if changing ]
def jscFlavor = 'org.webkit:android-jsc-intl:+' if (enableHermes) { def hermesPath = "../../node_modules/hermes-engine/android/"; debugImplementation files(hermesPath + "hermes-debug.aar") releaseImplementation files(hermesPath + "hermes-release.aar") } else { implementation jscFlavor }
Firebase crash reporting logs
Result: Working fine at my end now.
I am facing this issue on below my app.
"react": "17.0.2", "react-native": "0.66.4",
hermes is enabled
project.ext.react = [ enableHermes: true, // clean and rebuild if changing ]
def jscFlavor = 'org.webkit:android-jsc-intl:+' if (enableHermes) { def hermesPath = "../../node_modules/hermes-engine/android/"; debugImplementation files(hermesPath + "hermes-debug.aar") releaseImplementation files(hermesPath + "hermes-release.aar") } else { implementation jscFlavor }
Firebase crash reporting logs
Result: Working fine at my end now.
Hi @rakeshkumar-23, just curious, after you update the value jscFlavor from :
def jscFlavor = 'org.webkit:android-jsc:+'
to
def jscFlavor = 'org.webkit:android-jsc-intl:+'
does the problem from firebase not appear again ?
@cortinico is there a specific version of React Native that has addressed this issue? I don't think it was ready to be closed. I am still getting this unsatisfied link error for Many of my devices. I'm running React Native 71.8 and I don't believe the solutions above have worked.
I've added some quick SoLoader tweaks coming from the same StackOver flow issue -> Comment 1 and Comment 2. However, I'm deploying my production app and praying it actually works.
@cortinico is there a specific version of React Native that has addressed this issue? I don't think it was ready to be closed. I am still getting this unsatisfied link error for Many of my devices. I'm running React Native 71.8 and I don't believe the solutions above have worked.
This issue and similar "coundn't find DSO to load" issues got fixed in 0.71+ If you're still having the same issue on 0.72+, please open a new issue and provide a reproducer. We're not watching closed issues so it's not helpful to keep on commenting here.
still issue persist even if 0.71+
still issue persist even if 0.71+
The guidance is to update to RN 72, that has actually fixed my current issues. I’m no longer seeing these crashes
"react": "18.2.0", "react-i18next": "12.2.0",
hermesEnabled=false
the issue still persist
New Version
0.70.6
Old Version
0.64.3
Build Target(s)
android Pixel 6 API 33
Output of
react-native info
System: OS: macOS 12.5 CPU: (8) arm64 Apple M1 Pro Memory: 91.14 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 8.1.2 - ~/.nvm/versions/node/v16.13.1/bin/npm Watchman: 2022.11.14.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.3 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1 Android SDK: Not Found IDEs: Android Studio: 2021.3 AI-213.7172.25.2113.9014738 Xcode: 14.1/14B47b - /usr/bin/xcodebuild Languages: Java: 17.0.5 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: 0.70.5 => 0.70.5 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Issue and Reproduction Steps
When I am trying to launch the app on android it crashed on the splash screen and Logcat reports the below error.
/android/build.gradle
/android/app/build.gradle
Solutions that I have tried:
Also, I have tried all the solutions mentioned in Github issues in the context of libhermes.so crash or libjscexecutor.so.
Command used to run on android: