software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
8.61k stars 1.27k forks source link

Task :react-native-reanimated:buildCMakeRelWithDebInfo[armeabi-v7a] FAILED #6045

Closed snehal-phutane closed 1 month ago

snehal-phutane commented 1 month ago

Description

when i try to create gradlew bundleRelease, it is gave me following error

> Configure project :react-native-reanimated
Android gradle plugin: 8.2.1
Gradle: 8.6

> Task :react-native-reanimated:buildCMakeRelWithDebInfo[armeabi-v7a] FAILED
C/C++: ninja: error: manifest 'build.ninja' still dirty after 100 tries

 "react": "18.2.0",
 "react-native": "0.74.1",
"react-native-reanimated": "^3.11.0"

Steps to reproduce

  1. project>android>gradlew bundleRelease (for windows)

Snack or a link to a repository

xxx

Reanimated version

3.11.0

React Native version

0.74.1

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

github-actions[bot] commented 1 month ago

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?

mohammed412 commented 1 month ago

I have the same issue when i run npx expo run:android --variant=release command i got the error

tonypangs commented 1 month ago

same issue too...... i am using react-native 0.72.7 and react-native-reanimated 3.12.0

mohammed412 commented 1 month ago

i find the solution so the file path is too long for Windows. You could try moving your project to the root of the drive or closer to the root. Otherwise, maybe try WSL