react-native-reanimated icon indicating copy to clipboard operation
react-native-reanimated copied to clipboard

Can't build android

Open naum43312016 opened this issue 2 years ago • 6 comments

I have "react-native-reanimated": "2.7.0", when I am trying to build Android, I get this error CMake Error: The source directory "/Users/nauma/Desktop/DEV/rumble_mobile/node_modules/react-native-reanimated/android/--clean-first" does not exist.

same with 2.8.0 can somebody help with that? Thanks.

  • [x ] Android
  • [ ] iOS
  • [ ] Web

naum43312016 avatar May 01 '22 14:05 naum43312016

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snippet of code, a snack or a link to a GitHub repository that reproduces the problem?

github-actions[bot] avatar May 01 '22 14:05 github-actions[bot]

Hey! 👋

It looks like you've omitted a few important sections from the issue template.

Please complete Description, Snack or minimal code example, Package versions and Affected platforms sections.

github-actions[bot] avatar May 01 '22 14:05 github-actions[bot]

Hey, could you provide a repo to reproduce your issue?

piaskowyk avatar May 16 '22 13:05 piaskowyk

@piaskowyk FWIW we are getting this error in our F-Droid build pipeline. We are using react-native-reanimated 2.8.0. Any advice or questions would be appreciated. Sorry, I don't know how to put together a repro for this unfortunately...

https://dev.azure.com/podverse/podverse-fdroid/_build/results?buildId=798&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=96589d7f-1e77-5bd8-e480-061dbe1d8b75&l=1751

mitchdowney avatar Aug 12 '22 14:08 mitchdowney

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?

github-actions[bot] avatar Aug 12 '22 14:08 github-actions[bot]

@naum43312016 @piaskowyk I'm not 100% sure I'm remembering this correctly...but I think I resolved this issue by upgrading from Gradle 4.2.1 to 7.2.0.

I ended up reverting to Gradle 7.0.4 to deal with a separate issue, but it seems like both Gradle 7 versions resolved the build issue.

https://github.com/podverse/podverse-rn/commit/48f32e92833d24bb1225d5fa2326c47be4da6f34

mitchdowney avatar Aug 14 '22 01:08 mitchdowney