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

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

    I had a similar issue.

    BUILD SUCCESSFUL in 38s
    27 actionable tasks: 27 executed
    info Connecting to the development server...
    info Starting the app on "a77c634"...
    Starting: Intent { cmp=com.helloworld/.MainActivity }
    Error type 3
    Error: Activity class {com.helloworld/com.helloworld.MainActivity} does not exist.e
    

    For me, my target device had multiple accounts, so before running the app for another ime, make sure you uninstall it from all accounts.

提交回复
热议问题