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

'RNGestureHandlerModule' could not be found when building for Android #562

Closed
craiganderson-iotv opened this issue Dec 9, 2024 · 2 comments

Comments

@craiganderson-iotv
Copy link

Hello!

I have recently upgraded to [email protected], and encountered the following error when building for Android:

Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNGestureHandlerModule' could not be found. Verify that a module by this name is registered in the native binary.

This error does not appear when building for iOS, only Android.

Could it be related to #558?

Let me know if I can be of any further assistance

npx react-native info
System:
  OS: Linux 6.8 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
  CPU: (16) x64 Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
  Memory: 45.26 GB / 62.39 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.16.0
    path: /run/user/1006/fnm_multishells/36878_1733715384882/bin/node
  Yarn:
    version: 1.22.22
    path: /run/user/1006/fnm_multishells/36878_1733715384882/bin/yarn
  npm:
    version: 10.9.2
    path: ~/iotv/lws/i301/Mobile/loRaWANSystemMobile/node_modules/.bin/npm
  Watchman:
    version: 20240414.112832.0
    path: /usr/local/bin/watchman
SDKs:
  Android SDK:
    API Levels:
      - "34"
      - "35"
    Build Tools:
      - 33.0.1
      - 34.0.0
      - 35.0.0
      - 35.0.0
      - 35.0.0
    System Images:
      - android-34-ext12 | Google Play Intel x86_64 Atom
      - android-34 | Google APIs Intel x86_64 Atom
    Android NDK: Not Found
IDEs:
  Android Studio: Not Found
Languages:
  Java:
    version: 21.0.5
    path: /usr/bin/javac
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.4
    wanted: 0.76.4
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: false
@GaelCO
Copy link

GaelCO commented Dec 9, 2024

Have you upgrade react-native to 0.76.4 at the same time ?
I have the same issue, but I can update react-native-safe-area-context to 5.0.0 without problem
This issue happens only if I upgrade rn to 0.76.4 (works with 0.76.3)

@GaelCO
Copy link

GaelCO commented Dec 9, 2024

For information, I declare an issue on react-native gesture-handler github with a repro (without react-native-safe-area-context) : software-mansion/react-native-gesture-handler#3271

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

2 participants