question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"java.lang.UnsatisfiedLinkError: couldn't find DSO to load" on 64-bit only environment

See original GitHub issue

I followed the Test your app on 64-bit hardware on developer.android.com and installing APKs using ADB command > adb install --abi arm64-v8a YOUR_APK_FILE.apk

But some apps in the market is not working. From the log, it looks like SoLoader is not able to locate the file to load if it is a 64-bit env.

It is a known issue?

04-15 15:12:27.143 E AndroidRuntime: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: liblog.so
04-15 15:12:27.143 E AndroidRuntime:    at com.facebook.soloader.SoLoader.j(SourceFile:18)
04-15 15:12:27.143 E AndroidRuntime:    at com.facebook.soloader.DirectorySoSource.d(SourceFile:9)
04-15 15:12:27.143 E AndroidRuntime:    at com.facebook.soloader.DirectorySoSource.a(SourceFile:1)
04-15 15:12:27.143 E AndroidRuntime:    at com.facebook.soloader.SoLoader.j(SourceFile:7)
04-15 15:12:27.143 E AndroidRuntime:    at com.facebook.soloader.SoLoader.i(SourceFile:9)
04-15 15:12:27.143 E AndroidRuntime:    at com.facebook.soloader.SoLoader.h(SourceFile:1)
java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so result: 0
        at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:825)
        at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:673)
        at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:611)
        at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:559)
        at com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>(HermesExecutor.java:20)
        at com.facebook.hermes.reactexecutor.HermesExecutorFactory.create(HermesExecutorFactory.java:29)
        at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1017)
        at java.lang.Thread.run(Thread.java:1012)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
simpletoncommented, Jul 15, 2022

app bundle issue had been fixed for a while

0reactions
lfoliveir4commented, Jul 15, 2022

@simpleton I updated to version 10.4 in my app and made a hotfix. Crash records are over! Congratulations!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android ReactNative java.lang.UnsatisfiedLinkError:could find ...
From the issue: React Native on Android doesn't provide a 64-bit version of the libreactnativejni.so native library, which can cause ...
Read more >
react-native run-android failed to launch emulator - You.com
Reason: Emulator exited before boot en React Native when react-native run-android ... Kotlin could not find the required JDK tools in the Java...
Read more >
App fixes flagged on Firebase Crashylitics - Mon 4th Jan, 2020
:java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so. I was seeing this error intermitently on some Android devices.
Read more >
The resurrection of a year-old React-Native app | by Peter Quill
The task, as simple as it might sound, is a challenging one—get the ... /android-java-lang-unsatisfiedlinkerror-couldnt-find-dso-to-load.
Read more >
How to Handle the UnsatisfiedLinkError Runtime Error in Java
UnsatisfiedLinkError Error Example · Approach #1: Updating the PATH environment variable · Approach #2: Verifying the java.library.path property.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found