i'm new at programming and studying react-native. 1 month ago I installed everything and started to code normally testing the app in the emulator. I don't know if I did something wrong but, when I created another project and tried to run it in the emulator, the emulator runned the first project, then I erased the device, closed everything and now it don't run any app at all. I do the process like:
Open VSCode;
Open Android Studio, then the emulator;
npx react-native run-android;
terminal says
BUILD SUCCESSFUL in 36s
117 actionable tasks: 2 executed, 115 up-to-date
info Connecting to the development server...
info Starting the app on "emulator-5554"...
Starting: Intent { cmp=com.project_two/.MainActivity }
the node window
Loading dependency graph, done.
BUNDLE [android, dev] ./index.js 100.0% (449/449), done.
in the emulator, it does loading from 10.0.2.2:8081 then closes this window and goes back to home screen. And if I try to open the app manually, it stops responding.