Module AppRegistry is not registered callable module (calling runApplication)

后端 未结 22 1439
野的像风
野的像风 2020-11-28 07:56

I am using native base for making app in react-native. I am new to both things. When I run the app It gives me this error:

Here is my code:

         


        
22条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-28 08:23

    In my case, I didn't import a module in a component that I was using it in.

    So, just check if you are importing the module you want to use...

提交回复
热议问题