-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2.14.1 needs libhermes-executor-debug.so in release build #3952
Comments
Also getting these crashes on startup after upgrading to |
Same here. Getting this crash after updating to |
Hey @pnthach95, thanks for submitting the issue. I was able to reproduce the issue on a fresh RN 0.70.6 app both with 2.14.1 |
same issue |
same issue here |
The issue seems to be gone after you add @pnthach95 @AronBe @jabirmhd @ajiehatajie @idrissakhi Can you check if it helps? |
@tomekzaw Not sure, I have always had |
@tomekzaw check my babel config, it's already present before and app crashes
|
Same, already bable config is up to date. |
@tomekzaw I already had it in reproduce repo during setup. App still crashes |
Okay, so without
Indeed, it's a different error than the one reported in the issue ("Exception in HostFunction: java.lang.UnsatisfiedLinkError: dlopen failed: library "libhermes-executor-debug.so" not found"). When I add I will check out the @pnthach95's reproduction. |
I've have the below babel.confis.js and it crashes on update to
|
Same issue here, I have |
Same issue for me too. |
Same issue here |
Okay, so the root cause of the issue is that when we build AAR for Reanimated 2 package, we run a task called I've submitted a PR that resolves this issue: #3956. Once we merge it, we will release the fix with 2.14.2 or 2.15.0 (yet to be decided). Before the next release, here's what you can do:
Sorry for the inconvenience. |
This workaround did the trick for me. Thanks @tomekzaw 👍 project.ext.reanimated = [
buildFromSource: true
] |
what about ios ? how do you add that snippet? because this actually happens in ios build too. what i mean is, similar workaround for ios, not adding that code in ios of course. |
@bhaktitud you’re trolling, right? |
Worked for me too 👍 |
no, that work well for me on android, but ios it still crash on app launch. |
My app runs just fine. Are you sure it is reanimated issue? Please provide more information: RN version, RN animated version, log crash... |
Hey, I've just checked and iOS app in release mode works fine. |
@piaskowyk any timeline on when you are going to release 2.14.2? |
Probably in 30 minutes Edit: Reanimated 2.14.2 has just been published 🥳 |
which build file i have to place this ? |
@AliYar-Khan under
|
I have react native version 0.71.8 and reanimated version 2.17.0. The solution: |
…ge (software-mansion#3956) ## Summary Fixes software-mansion#3952. ## Test plan 1. Build Reanimated 2 package on CI 2. Create a new RN 0.70.6 app with Reanimated 3. Copy BokehExample to App.js 4. Build the app in release mode for Android 5. Check if the runtime error is gone
Description
I upgrade reanimated from 2.13.0 to 2.14.1, then build release APK and install and run and it crashes
Logcat:
Steps to reproduce
reanimated
branch and install dependenciesnpx react-native run-android --variant=release
Snack or a link to a repository
https://github.com/pnthach95/KarthuriaApp/tree/reanimated
Reanimated version
2.14.1
React Native version
0.70.6
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
None
Build type
Release mode
Device
Real device
Device model
Samsung S20 Ultra
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: