-
Notifications
You must be signed in to change notification settings - Fork 955
Flipper 0.77.0 crashes on Android with "couldn't find DSO to load: libfbjni.so" #1968
Comments
I meet the same bug in 0.78.0. |
cc @passy might this be related to the recent build setup changes for fbjni? |
Yes, there have been changes to the distribution but I tested this with our sample apps and it worked without additional changes. Would be great to have a sample project that repros the crash. |
Same issue in 0.79.0. |
Again, I will need a sample that repros this. |
I experienced this issue with my app, as well as the sample app in the repo. The latest version that worked for me was |
If the issue is also experienced with our sample app, it might be an environmental issue, as we'll always build that one as well in our CI were it succeeds happily, for example https://github.com/facebook/flipper/runs/2025667652. So it might good to compare your local setup (gradle, ndk, jdk versions etc) against our CI setup which is a pretty isolated but working setup: https://github.com/facebook/flipper/blob/master/.github/workflows/android-sample.yml |
Running into this as well, created a minimal repro |
Thanks, @steelahhh. I'll check that out today. |
That helped a lot, @steelahhh. Thanks for that. It looks like prefab behaves differently when used through an exported package and when consumed as part of the same gradle project. Ultimately, this is something the Android Gradle plugin will need to fix. For now, what we could do is include |
I'll address this through a new fbjni release instead. In my testing this seems to work both in the Flipper repo and with your app. facebookincubator/fbjni#51 |
Summary: This should fix #1968 Test Plan: Built our sample app; built the sample app provided in the repo as part of the issue; locally released the Flipper artifacts and built the RN app against it.
|
🐛 Bug Report
Flipper 0.77.0 crashes on Android app start for me with the following error:
downgrading back to Flipper 0.76.0 works successfully.
This is a regular Android app and not a RN app
The text was updated successfully, but these errors were encountered: