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.

UnsatisfiedLinkError: dlopen failed

See original GitHub issue

Issues and Steps to Reproduce

java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.nullcognition.litho/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit Create a project, import all gradle dependencies(uncomment testing dep.), add App application class, change manifest application name to App class, init SoLoader in App, add Testing your Installation code, run.

Expected Behavior

Now, when you run the app you should see “Hello World!” displayed on the screen.

Link to Code

https://github.com/ersin-ertan/android-ui/tree/master/litho

Related Info

SoLoader issue for 32 and 64-bit @rspencer01 Device: Galaxy Tab S2

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rspencer01commented, Apr 19, 2017

I thought this looked familiar! 😄

1reaction
passycommented, Apr 19, 2017

@ersin-ertan It looks like the solution to this problem is actually incredibly boring. @rspencer01 fixed this exact problem and there has been a new release of the library. We did, however, forget to update the references in the tutorials to point to that release.

If you change this line to

compile 'com.facebook.soloader:soloader:0.2.0'

then everything is working again on x86_64.

Sorry for the confusion and thanks for raising this. I’ll update the docs and close this afterwards.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java.lang.UnsatisfiedLinkError: dlopen failed: - Stack Overflow
I am trying to add the . so file in armeabi and armeabi-v7a. If you are copying manually then it is not right,...
Read more >
java.lang.UnsatisfiedLinkError: dlopen failed: library ... - GitHub
Using android-database-sqlcipher:4.4.3 crashes on Samsung Galaxy A32 5G Android 11 Fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library ...
Read more >
Google Groups
UnsatisfiedLinkError : dlopen failed: library ". ... the `lib` directory of the apk file, why does `dlopen` treat `libs/<arch>/` as the default search...
Read more >
Exception details: dlopen failed: library "librunt...
Hi everyone, I am with a problem when try debug my app. Environment. Xamarin Forms: 5.0.0.2515 Esri.ArcGISRuntime.Xamarin.Forms: 100.12.0.
Read more >
dlopen failed: library "libcdsprpc_system.so" not found
I tried Android app with c++ SNPE on SDM660. When execute apk, system is not able to load libcdsprpc_system.so file that located on...
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