Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build-Error in Android with RN 0.70.1 and Worklets 0.2.2 #130

Open
dfilla opened this issue Oct 23, 2023 · 4 comments
Open

Build-Error in Android with RN 0.70.1 and Worklets 0.2.2 #130

dfilla opened this issue Oct 23, 2023 · 4 comments

Comments

@dfilla
Copy link

dfilla commented Oct 23, 2023

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.

@dfilla
Copy link
Author

dfilla commented Oct 23, 2023

Is it possible that Worklets 0.2.2 only works with RN 0.71.0 or higher?

@erickcrus
Copy link

Same here.

@josh-thompson13
Copy link

josh-thompson13 commented Nov 8, 2023

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

@levepic
Copy link

levepic commented Feb 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants