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

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

    I had a slightly different take on the same issue.

    I'm not using react, however I did run into this same issue.

    I tried all of the solutions on this page and, oddly enough, each of them worked once. But the problem continued to come back.

    In the end I found that doing:

    1. adb uninstall com.appname

    2. followed by a restart of the handset

    Solved the issue every time since discovering.

    Using a Samsung S8 and Android 3.4.1. No crazy libraries other than OKHttp. Running on a Mac.

提交回复
热议问题