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.

SoLoader 0.8.0 couldn't find DSO to load - issue on .apk build

See original GitHub issue

MyApp is crashing while performing tests on Firebase Test lab emulators (x86). Downgrading to 0.6.1 is fixing the problem.

java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libyoga.so caused by: APK was built for a different platform
	at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:789)
	at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:639)
	at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:577)
	at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:525)
	at com.facebook.yoga.YogaNative.<clinit>(YogaNative.java:15)
	at com.facebook.yoga.YogaConfig.<init>(YogaConfig.java:20)
	at com.facebook.yoga.YogaConfigFactory.create(YogaConfigFactory.java:5)
	at com.facebook.litho.yoga.LithoYogaFactory.createYogaConfig(LithoYogaFactory.java:26)
	at com.facebook.litho.NodeConfig.<clinit>(NodeConfig.java:45)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:27
  • Comments:84 (12 by maintainers)

github_iconTop GitHub Comments

74reactions
approachedcommented, Jul 5, 2020

What fixed it for us what upgrading the SOLoader.

In android/app/build.gradle:

dependencies {
   implementation 'com.facebook.soloader:soloader:0.9.0+'
29reactions
soroushmcommented, Jun 2, 2020

go to the android directory and run dis command “./gradle clean” its work for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

React-Native :java.lang.UnsatisfiedLinkError: couldn't find ...
For anyone where it seems it stops working out of nowhere, it would build in Android studio no problem, and react-native run-android will...
Read more >
React Native error with couldn't find DSO to load: libhermes.so
Solution. Modify the dependencies block of android/app/build.gradle , add or upgrade the SOLoader dependency, as follows.
Read more >
【RN小记】解决couldnot find DSO to load: libhermes.so
【RN小记】解决couldnot find DSO to load: libhermes.so,当前使用RN版本号:0.62.2,将项目打包release的apk时,安装后打开App闪退,完整错误如下:
Read more >
apkanalyzer - Android Developers
Using APK Analyzer reduces the time you spend debugging issues with DEX files and resources within your app and reduces the size of...
Read more >
Shell E Soloader Couldn T Find Dso To Load Libfbjni So
Find the data you need here · SoLoader: couldn't find DSO to load: libflipperfb.so #515 · SoLoader 0.8.0 couldn't find DSO to load...
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