I managed to run the example app on android emulator by following the instructions on README.md. However I'm having issue adding it into my Expo app.
- When I run with
npx expo start and opening it on Android emulator, I get the below error when the page loads:
ERROR [Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'Worklets' could not be found. Verify that a module by this name is registered in the native binary.]
- Then I tried with a local build by running
npx expo run:android, but failed to build with the below error:
FAILURE: Build failed with an exception.
* What went wrong:
> Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
> Could not find com.migeran.libgodot:godot-debug:4.5.1.migeran.2-SNAPSHOT.
Required by:
project :app > project :borndotcom_react-native-godot
I did run download-prebuilt and verified that the following are present:
node_modules/@borndotcom/react-native-godot/android/libs/libgodot-android
node_modules/@borndotcom/react-native-godot/android/libs/libgodot-cpp-android
What did I miss here?
I managed to run the example app on android emulator by following the instructions on README.md. However I'm having issue adding it into my Expo app.
npx expo startand opening it on Android emulator, I get the below error when the page loads:npx expo run:android, but failed to build with the below error:I did run
download-prebuiltand verified that the following are present:node_modules/@borndotcom/react-native-godot/android/libs/libgodot-androidnode_modules/@borndotcom/react-native-godot/android/libs/libgodot-cpp-androidWhat did I miss here?