UnsatisfiedLinkError: dlopen failed
See original GitHub issue- I have searched existing issues and this is not a duplicate
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:
- Created 6 years ago
- Comments:7 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I thought this looked familiar! 😄
@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
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.