Hi I recently created a react native app version 0.60.5 and installed react-navigation with react-native-reanimated. When I built the project in Android Studio, I'm getting this error in react-native-reanimated: Execution failed for task ':react-native-reanimated:compileDebugJavaWithJavac'
. Is there anything I did wrong?
Here's a screenshot:
Reanimated is a React Native library that allows for creating smooth animations and interactions that runs on the UI thread.
This worked for me:
npm install -g jetifier
npx jetify
At root project. Thanks to Harsh2402 for his answer on this issue : https://github.com/kmagiera/react-native-gesture-handler/issues/642
This helped me out.
cd android && ./gradlew clean
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With