报错信息:
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform react-native-reanimated-65-jsc.aar (project :react-native-reanimated) to match attributes {artifactType=android-aar-metadata}.
> Execution failed for JetifyTransform:
C:\Users\Rahul\Desktop\lcorn\rb\node_modules\react-native-reanimated\android\react-native-reanimated-65-jsc.aar. >
Transform's input file does not exist: C:\Users\Rahul\Desktop\lcorn\rb\node_modules\react-native-reanimated\android\react-native-reanimated-65-jsc.aar. (See https://issuetracker.google.com/issues/158753935)
解决方法:
需要安装react-native-reanimated@2.3.0-alpha.3
或更新版本解决问题。
相关文档:https://docs.swmansion.com/react-native-reanimated/docs/installation/