Error type 3. Activity class {com.awesome_project/ com.awesome_project.MainActivity} does not exist in react native (Android device)

后端 未结 24 1548
甜味超标
甜味超标 2021-01-30 20:10

I\'ve created the project using the following command.

react-native init Awesome_Project

I\'ve started the packager using the following com

24条回答
  •  孤独总比滥情好
    2021-01-30 20:26

    I tried all the answers posted above, no any outcome for my use case.

    It got resolved finally by executing like this:

    react-native run-android --variant=alphaDebug

    if there are multiple flavours in the app, then we must mention variant through command line

提交回复
热议问题