Visual Studio Android app keeps running old app

Viewed 18

I have come into a problem with my Android app. I keep trying to run the emulator through visual studio, but it keeps giving me this error: `Running "TodoApp" with {"rootTag":311} ERROR Invariant Violation: "TodoApp" has not been registered. This can happen if:

  • Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
  • A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes`

I used to have an old project called TodoApp that I made and I deleted it from my computer. Now every time I run my new app called dscapp it keeps giving me this error like it's trying to run the old app. Does anyone have any knowledge on why it's doing this? If I delete my new project called dscapp and recreate it, it will work for a minute then give me the error above.

0 Answers
Related