I try to run application on android emulator but it failed. I run react-native run-android, BUILD is SUCCESSFUL but I get error type 3 and I don't see that it installed on emulator.
This part of what I get when I run "react-native run-android" in cmd:
Installed on 1 device. BUILD SUCCESSFUL Total time: 2 mins 24.714 secs Starting the app on ***** (...\Android\sdk/platform-tools/adb -s **** shell am start -n app/.MainActivity)... Starting: Intent { cmp=app/.MainActivity } Error type 3 Error: Activity class {app/app.MainActivity} does not exist.
react-nativeare you using ? Did it occur after creating a new project or after upgradingreact-nativefor an existing project ?MainActivity.java&MainApplication.javainsideandroid/app/src/main/java/com/appname? Can you please provide their code?