App is crashing after APK build is generated from EXPO
Tags: reactnative, javascript, android
Published: 2024-03-13 04:17:49

My app crashed, it couldn't work after being built. This error at lagcat: `2024-03-13 10:42:04.267 31778-31836 ReactNativeJS           com.dohieu825.EduhookUserApp         E  Invariant Violation: requireNativeComponent: "RNSScreenStackHeaderConfig" was not found in the UIManager.
                                                                                                    
                                                                                                    This error is located at:
                                                                                                        in RNSScreenStackHeaderConfig
                                                                                                        in HeaderConfig
                                                                                                        in RNSScreen
                                                                                                        in Unknown
                                                                                                        in Suspender
                                                                                                        in Suspense
                                                                                                        in Freeze
                                                                                                        in DelayedFreeze
                                                                                                        in InnerScreen
                                                                                                        in Screen
                                                                                                        in SceneView
                                                                                                        in Suspender
                                                                                                        in Suspense
                                                                                                        in Freeze
                                                                                                        in DelayedFreeze
                                                                                                        in RNSScreenStack
                                                                                                        in ScreenStack
                                                                                                        in NativeStackViewInner
                                                                                                        in RNCSafeAreaProvider
                                                                                                        in SafeAreaProvider
                                                                                                        in SafeAreaProviderCompat
                                                                                                        in NativeStackView
                                                                                                        in PreventRemoveProvider
                                                                                                        in NavigationContent
                                                                                                        in Unknown
                                                                                                        in NativeStackNavigator
                                                                                                        in EnsureSingleNavigator
                                                                                                        in BaseNavigationContainer
                                                                                                        in ThemeProvider
                                                                                                        in NavigationContainerInner
                                                                                                        in App
                                                                                                        in RCTView
                                                                                                        in Unknown
                                                                                                        in RCTView
                                                                                                        in Unknown
                                                                                                        in AppContainer, js engine: hermes`