-
-
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
Android build failing with react-native-reanimated
3.15.2 (RN 0.72.15, NDK 23)
#6512
Comments
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem? |
I encountered the same error log as well while upgrading
EDIT: |
I am also having this problem. Downgraded to v3.14.0 fixed it |
I got the same issue with v3.14.0 |
Just to let you know, there are two wolves inside Android NDKs. NDK27 wants to use explicit NDK23 says If you use On release of 3.16.0 we'll make it so both NDKs are happy. |
Part of our team is OOO right now so it's hard for me to give a timeline on when 3.16.0 would release. If for some reason you need patches from 3.15.3 (they are for Fabric IIRC) let me know and we'll try to release 3.15.4 beforehand. |
You should change your |
I encountered the same issue after installing the react-native-reanimated. Here's how I resolved it: 1.Included the following line to the babel.config.js file: |
replace "react-native-reanimated": "~3.15.2", => "3.15.2" and restart |
What worked for me was pinning
|
Thanks @tjzel for the fix, however we tried to upgrade to 3.15.4 and are still getting similar errors:
|
I've proposed a fix in #6590 |
<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please follow the template so that the reviewers can easily understand what the code changes affect. --> ## Summary <!-- Explain the motivation for this PR. Include "Fixes #<number>" if applicable. --> There was a small typo in #6553 which caused building with c++17 to still fail. ## Test plan <!-- Provide a minimal but complete code snippet that can be used to test out this change along with instructions how to run it and a description of the expected behavior. --> Build works again with RN 0.72 which uses c++17. ## Notes - Fixes #6512 (comment) - Fixes #6584
<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please follow the template so that the reviewers can easily understand what the code changes affect. --> ## Summary <!-- Explain the motivation for this PR. Include "Fixes #<number>" if applicable. --> There was a small typo in #6553 which caused building with c++17 to still fail. ## Test plan <!-- Provide a minimal but complete code snippet that can be used to test out this change along with instructions how to run it and a description of the expected behavior. --> Build works again with RN 0.72 which uses c++17. ## Notes - Fixes #6512 (comment) - Fixes #6584
Description
Hey, we got the following compile errors on Android trying to upgrade
react-native-reanimated
from v3.15.1 to v3.15.2.We use the following SDK/NDK versions, with React Native 0.72.15.
Note: I saw #6466, but compilation was working for us with v3.15.1.
Steps to reproduce
react-native-reanimated
from v3.15.1 to v3.15.2Snack or a link to a repository
valora-inc/wallet#6015
Reanimated version
3.15.2
React Native version
0.72.15
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Paper (Old Architecture)
Build type
Release app & production bundle
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: