Module AppRegistry is not registered callable module (calling runApplication)

后端 未结 22 1442
野的像风
野的像风 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:38

    I am using Expo

    In my case, I resolved the issue by adding the following code in app.json file

    "expo":{
      ...
      "android": {
        "package": "com.mycompanyname.myappname
      }
    }
    

提交回复
热议问题