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

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

    I solved it by installing the debug application manually on the mobile phone.

    To do so, go to [Project_Path]\android\app\build\outputs\apk\debug\app-debug.apk

    Copy this app-debug.apk to your mobile device.

    Now, just install it normally in your mobile and you are good to go.

提交回复
热议问题