talknagish / react-native-turbo-starter

React 0.68+ Turbo Module starter using codegen with typescript for Objective-C and Java/Kotlin with C++ shared library. 🚀🚀🚀
MIT License
380 stars 27 forks source link

android the app closes and 'TurboStarter' could not be found #30

Open direstrepo24 opened 2 years ago

direstrepo24 commented 2 years ago

hello, with ios it works perfect, but with android it doesn't, the app closes and i get this error: 2022-04-29 14:50:50.271 28083-28131/com.example.reactnativeturbostarter E/ReactNativeJS: Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'TurboStarter' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes

This my system information: System: OS: macOS 12.3.1 CPU: (4) x64 Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz Memory: 600.11 MB / 8.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 17.8.0 - /usr/local/bin/node Yarn: 1.22.18 - /usr/local/bin/yarn npm: 8.5.5 - /usr/local/bin/npm Watchman: 2022.03.21.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8309675 Xcode: 13.3/13E113 - /usr/bin/xcodebuild Languages: Java: 11.0.14.1 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.68.1 => 0.68.1 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Originally posted by @direstrepo24 in https://github.com/talknagish/react-native-turbo-starter/issues/27#issuecomment-1112749365

alon7 commented 2 years ago

Hi @direstrepo24! Thanks for the issue. I will look into it whenever I get a chance