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

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

    For anyone else running into this issue where there are no solutions, if you've linked libraries, make sure that in the settings.gradle file located in ProjectName/android has your app in the include statement, like so: include ':ThirdPartyLibrary', ':app'. I forgot :app and it was build and installing the 3rd party library, but not the actual app, resulting in the problem.

提交回复
热议问题