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

后端 未结 24 1619
甜味超标
甜味超标 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:19

    This issue occurred in my case when I uninstalled the app and tried installing with react-native run-android again.

    Following worked for me:
    1. Go to Application List from Settings Menu.
    2. You will see your application in the list with a message on the left side "App not installed for this user".
    3. Open that app in the settings, and then click on the top-right menu icon and select "Uninstall for all users". Hope it helps!

提交回复
热议问题