Closed tikhonNikita closed 1 year ago
A quick inspection of react-native-gradle-plugin
and its build.gradle
indicates that it is specifically dependent on Facebook's react-android
library and has hardcoded their Maven group name com.facebook.react
. If you change that to io.github.react-native-tvos
, the problem should hopefully resolve itself. There is a new version of react-native-gradle-plugin
that has just been released, that will hopefully deal with this automatically.
Reopening this after testing with a project that includes both react-native-gesture-handler
and react-native-reanimated
.
react-native-gradle-plugin
patch that I created needs some additional code to solve the dependency issues . I have the additional code working as a patch in this example application: https://github.com/douglowder/TVInputDemo/tree/0.71-testingreact-native-reanimated
if Hermes is enabled. Compilation fails due to a missing CMake config file. I am still investigating this issue.Exactly the same problem here.
Could not determine the dependencies of task ':react-native-reanimated:compileDebugAidl'. Could not resolve all task dependencies for configuration ':react-native-reanimated:debugCompileClasspath'. Could not find com.facebook.react:react-android:. Required by: project :react-native-reanimated Could not find com.facebook.react:hermes-android:. Required by: project :react-native-reanimated
This is fixed by https://github.com/facebook/react-native/pull/37445 , and will be included as soon as the core team backports this PR for the next 0.71 core release.
New Version
0.71.7
Old Version
0.66.3
Build Target(s)
android simulator
Output of
react-native info
Issue and Reproduction Steps
Hi! When I try to build an app after react-native-gesture-handler android builds always fails with this error. The same issue with Reanimated 3.1.0
Here is my project level build.gradle
And module level build.gradle