嗨,我最近创建了一个 react native 应用程序版本 0.60.5,并安装了 react-navigation 和 react-native-reanimated。当我在 Android Studio 中构建项目时,我在 react-native-reanimated: Execution failed for task ':react-native-reanimated:compileDebugJavaWithJavac'
中收到此错误。我做错了什么吗?
这是一个屏幕截图:
最佳答案
这对我有用:
npm install -g jetifier
npx jetify
在根项目中。感谢 Harsh2402 对这个问题的回答:https://github.com/kmagiera/react-native-gesture-handler/issues/642
关于react-native - React Native Reanimated 错误 : Execution failed for task ':react-native-reanimated:compileDebugJavaWithJavac' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57934866/