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.

couldn't find DSO to load: libflipperfb.so Not working in Emulator only

See original GitHub issue

šŸ› Bug Report

For earlier information: I was getting this error on build. it was not letting me build project.

Execution failed for task ā€˜:app:processDebugResourcesā€™. Android resource linking failed

which i resolved by Migration of support libraries to AndroidX. Doing that above issue resolved and my code start building.

Now after adding complete setup of flipper under build.gradle, AndroidManifest and MyApplication class. When i go to run project. my app is getting crash with logs i am posting below.

But the same code when i run on actual device. Mobile. Code is working which i can also verifry from logs that fbflipper is intiallized and etc.

But same code is not working on any Emulator. I have tried 4 different emulators from Android 22 to Android P.

Posting the Emulator crash logs below. Any help will be appreciated. Thanks

To Reproduce

To reproduce. Just use any emulator and run project.

Expected Behavior

App will crash on very start before opening application

Environment

Flipper version :

debugImplementation 'com.facebook.flipper:flipper:0.22.0' debugImplementation 'com.facebook.soloader:soloader:0.6.0'

Gradle Version: 5.0 compileSdkVersion 28 Android Plugin Version: 3.3.0

Logs

07-04 16:34:03.043 5373-5373/? E/memtrack: Couldnā€™t load memtrack module (No such file or directory) 07-04 16:34:03.043 5373-5373/? E/android.os.Debug: failed to load memtrack module: -2 07-04 16:34:03.854 5386-5386/? E/cutils-trace: Error opening trace file: Permission denied (13) 07-04 16:34:06.263 1976-2260/com.google.android.gms.persistent E/NetworkScheduler: Invalid component specified. 07-04 16:34:06.264 1976-2260/com.google.android.gms.persistent E/NetworkScheduler: Invalid component specified. 07-04 16:34:06.265 1976-2260/com.google.android.gms.persistent E/NetworkScheduler: Invalid component specified. 07-04 16:34:06.519 5425-5425/? E/memtrack: Couldnā€™t load memtrack module (No such file or directory) 07-04 16:34:06.519 5425-5425/? E/android.os.Debug: failed to load memtrack module: -2 07-04 16:34:06.545 5437-5437/? E/libprocessgroup: failed to make and chown /acct/uid_10072: Read-only file system 07-04 16:34:06.560 5437-5446/? E/art: Failed sending reply to debugger: Broken pipe 07-04 16:34:06.605 5437-5470/? E/SoLoader: couldnā€™t find DSO to load: libflipperfb.so 07-04 16:34:06.627 5472-5472/? E/libprocessgroup: failed to make and chown /acct/uid_10072: Read-only file system 07-04 16:34:06.669 5472-5505/? E/SoLoader: couldnā€™t find DSO to load: libflipperfb.so 07-04 16:34:06.687 5507-5507/? E/libprocessgroup: failed to make and chown /acct/uid_10072: Read-only file system 07-04 16:34:06.731 5507-5540/? E/SoLoader: couldnā€™t find DSO to load: libflipperfb.so

--------- beginning of crash

07-04 16:34:06.732 5507-5540/? E/AndroidRuntime: FATAL EXCEPTION: FlipperEventBaseThread Process: com.my.app, PID: 5507 java.lang.UnsatisfiedLinkError: couldnā€™t find DSO to load: libflipperfb.so at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:738) at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:591) at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:529) at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:484) at com.facebook.jni.HybridData.<clinit>(HybridData.java:25) at com.facebook.flipper.android.FlipperThread.run(FlipperThread.java:24) 07-04 16:34:12.015 5189-5546/com.android.providers.calendar E/SQLiteLog: (284) automatic index on view_events(_id)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

16reactions
tsdmrfthcommented, Apr 25, 2020

Clean project > Rebuild project It worked for me.

1reaction
kuhnroyalcommented, Jul 6, 2019

Try to use 0.23.0 and clear all cache, uninstall the old app etc. before rebuilding

Read more comments on GitHub >

github_iconTop Results From Across the Web

React-Native :java.lang.UnsatisfiedLinkError: couldn't find ...
They cannot be used side-by-side in one app, so all of the app code and dependency code needs to be using one or...
Read more >
Troubleshoot known issues with Android Emulator
This page lists known issues, workarounds, and troubleshooting tips for the Android Emulator. If you encounter an issue not listed here orĀ ...
Read more >
Android Emulator Troubleshooting - Xamarin - Microsoft Learn
This article explains how to diagnose and work around problems that may occur when using the Android Emulator.
Read more >
SoLoader 0.8.0 couldn't find DSO to load - issue on .apk build
MyApp is crashing while performing tests on Firebase Test lab emulators (x86). Downgrading to 0.6.1 is fixing the problem. java.lang.
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