-
-
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
Task :react-native-reanimated:buildCMakeDebug[arm64-v8a] FAILED C/C++: ninja: Entering directory `node_modules/react-native-reanimated/android/.cxx/Debug/1v4h12z2/arm64-v8a' #6847
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? |
same issue here
triying to install react-native reanimated I cleaned gradle and changed the directory path to a shorter one and the problem persists |
Edit: Solved following the next steps:
Hopes this help |
Getting same issues using mac, working fine in ios but not in andoird, if i make newArchEnabled=false then build is running successful in android. Using React Native: 0.76.5, react-native-reanimated: 3.16.5 |
I will try above solutions and let you know if any issues. |
I'm on |
You can add on your User's Environment Variable, through System Settings, or on cmd: set CMAKE_VERSION=3.31.1
::set Environment variable Before that see if it's correctly setted set
::list all Environment Variables Edit: Just to give some context. |
i was also facing this issue i also updated the CMAKE_VERSION to 3.31.1 but got same error so resolved this issue by changing |
Description
I am trying to run the project in M3 apple chip Mac with React native reanimated version "^3.14" and react native version "0.74" but build is getting failed with Task :react-native-reanimated:buildCMakeDebug[arm64-v8a] FAILED
C/C++: ninja: Entering directory `/Users/project/node_modules/react-native-reanimated/android/.cxx/Debug/1v4h12z2/arm64-v8a'
React Native Info:
System:
OS: macOS 14.4.1
CPU: (14) arm64 Apple M3 Max
Memory: 345.09 MB / 36.00 GB
Shell:
version: 3.2.57
path: /bin/bash
Binaries:
Node:
version: 22.10.0
path: ~/.nvm/versions/node/v22.10.0/bin/node
Yarn:
version: 1.22.22
path: ~/.nvm/versions/node/v22.10.0/bin/yarn
npm:
version: 10.9.0
path: ~/.nvm/versions/node/v22.10.0/bin/npm
Watchman:
version: 2024.11.04.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.5
- iOS 17.5
- macOS 14.5
- tvOS 17.5
- visionOS 1.2
- watchOS 10.5
Android SDK: Not Found
IDEs:
Android Studio: 2024.2 AI-242.23339.11.2421.12700392
Xcode:
version: 15.4/15F31d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.13
path: /usr/bin/javac
Ruby:
version: 3.3.6
path: /opt/homebrew/opt/ruby/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.74.5
wanted: 0.74.5
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
I have NDK version - 26.1.10909125 and gradle - 8.6
Steps to reproduce
Snack or a link to a repository
https://snack.expo.io/
Reanimated version
3.14.0
React Native version
0.74.5
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
Android emulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: