Build-Error in Android with RN 0.70.1 and Worklets 0.2.2
I get an error while building Android.' React-Native: 0.70.1 Vision-Camera: 3.5.1 Worklets-Core: 0.2.2
I have set the following flag in "gradle.properties".
hermesEnabled=true
This gives me this error:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. Could not find com.facebook.react:hermes-android:. Required by: project :app
But if I set Hermes as "false" I get this error:
Could not determine the dependencies of task ':react-native-worklets-core:compileDebugAidl'. Could not resolve all task dependencies for configuration ':react-native-worklets-core:debugCompileClasspath'. Could not find com.facebook.react:react-android:. Required by: project :react-native-worklets-core
In both cases, Worklets Core cannot load the libs.
Can someone help me please? Everything works fine on iOS, it's just Android.
Is it possible that Worklets 0.2.2 only works with RN 0.71.0 or higher?
Same here.
I'm using react-native version 0.68.7, upgraded to 0.71.0 and it worked... However I am not ready to use this version of RN. Need a fix :)
It also fails with latest version 1.1.0. What is exactly causing the problem? It would be good to have a fix for RN < 0.71. I assume its a minor setting/config in the module that needs to be fixed for this