Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React Native Reanimated error: Execution failed for task ':react-native-reanimated:compileDebugJavaWithJavac'

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: a

like image 369
Vince Gonzales Avatar asked Sep 14 '19 11:09

Vince Gonzales


People also ask

What is reanimated react native?

Reanimated is a React Native library that allows for creating smooth animations and interactions that runs on the UI thread.


2 Answers

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

like image 64
Iván Mardini Avatar answered Oct 12 '22 19:10

Iván Mardini


This helped me out.

cd android && ./gradlew clean
like image 26
테이머즈 Avatar answered Oct 12 '22 21:10

테이머즈