这是indexloc提供的服务,不要输入任何密码
Skip to content

Issue running with Expo app #16

@stanleylws

Description

@stanleylws

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.

  1. 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.]
  1. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions