-
-
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 failed with react-native-reanimated:configureCMakeRelWithDebInfo[arm64-v8a] on CircleCI under latest Reactnative 0.73.0. #5498
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? |
@aliza-khu Thanks for submitting this issue. What is the path to Ninja or CMake bin folder on your CI? Is it included in |
@tomekzaw,
|
@tomekzaw,
then I got rid of
Can you please share the solution to this? |
@tomekzaw, Can you please let me know what's the next step? It seems like the react-native-reanimated library does not support react-native: 0.73.0. isn't it? |
@aliza-khu Reanimated 3.6.1 supports React Native 0.73.0. Regarding the error |
@tomekzaw,
|
@tomekzaw, 👆 |
@aliza-khu Not sure what exactly this error means but can you try renaming project directory -/home/circleci/react-native
+/home/circleci/<something else here> Reanimated searches for |
@tomekzaw,
|
@aliza-khu Thanks for checking. Are you using some flags to choose which Android architectures to build? Something like |
@tomekzaw, reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 |
@tomekzaw, |
@aliza-khu Nope, that's fine. I've run out of ideas at this point 😢 |
@tomekzaw, Let me know if you have any suggestions regarding this Problem. |
@tomekzaw,
I am getting the below log while executing with react-native-reanimated: 2.14.4 [Success]
And I am not getting the same log while executing with react-native-reanimated: 3.6.1 [Current]
|
@aliza-khu That's because Reanimated 3 has no AARs. |
I am also getting a similar kind of error on the CircleCI builds but with a different library.
The build is fine on my local machine but on circleCI it's not working. Even tried to downgrade gradle from 8.0.1 to 7.5.1 but still no luck! |
@tomekzaw, |
Based on the information provided in this report (link here), it appears that the issue is not related to Reanimated but rather to the CircleCI environment configuration. Therefore, unless anyone objects, I will proceed to close the issue. |
Can you share your specs? I am currently using this and experienced the same issue
|
@aliza-khu could you share how you made the android build work in the mac os machine in circleci? edit: actually, this worked for me #5498 (comment) thanks |
@jpsierens88, You need to write the script for Android in CircleCI. if are planning to do so. you don't need to work ninja as well(#5498 (comment)). Sample:
|
Sorry to bump an old thread, but I am seeing exactly the issue you describe (CXX1210 no compatible library found) using Bitrise, rather than CircleCI. I can replicate this locally, using a Macbook M1, macOS 14.4.1. My current working suspicion is that this relates an incompatible CMake version. Did you get anywhere with your investigation above (before the issue was marked as stale on Jan 10th). Subsequent comments appear to be about a different issue relating to ninja, which I'm not seeing. Full details below, thanks in advance for any pointers! Here's the top-level exception:
React native info:
And here's the full stack trace:
|
Looks like this is somehow related to #4712, so unsetting/removing the |
I encountered an error while updating my React Native project from version 0.72.x to 0.74.3. The project configuration includes: React Native: 0.74.3
Has anyone encountered a similar issue or found a solution for this? Any steps or suggestions to fix this would be greatly appreciated. |
|
Remove the option |
Description
I am using react-native 0.73.0 along with react-native-reanimated: 3.6.1 And try to make release build using CircleCI. I am facing below error:
FAILURE: Build failed with an exception.
Execution failed for task ':react-native-reanimated:configureCMakeRelWithDebInfo[arm64-v8a]'.
Steps to reproduce
Set the below configuration of the project:
"react": "18.2.0",
"react-native": "0.73.0",
"react-native-reanimated": "^3.6.1",
Now try to generate release build on CircleCI
Snack or a link to a repository
Confidential
Reanimated version
3.6.1
React Native version
0.73.0
Platforms
Android
JavaScript runtime
None
Workflow
React Native
Architecture
None
Build type
Release app & production bundle
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: