Application main has not been registered

后端 未结 5 866
伪装坚强ぢ
伪装坚强ぢ 2021-01-11 12:04

I have recently started to convert my react native app and running on Expo so i could test this on my actual android device. I am getting this error above. I have since then

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-11 12:15

    The following solution worked:

    AppRegistry.registerComponent('main',() => App);
    

    Credits: Rishav Kumar

    (Cannot you people just reply to mark as solve ?)

提交回复
热议问题