My Metro bundler is not getting connected to the android emulator
Please help
When i run the command to build react native app , it does not automatically start my android emulator , nor does it recognises it
My Metro bundler is not getting connected to the android emulator
Please help
When i run the command to build react native app , it does not automatically start my android emulator , nor does it recognises it
2
Answers
good day. you have to follow all the steps in the react native official documentation to make it run.
https://reactnative.dev/docs/environment-setup
I tried those solutions plus others I found on-line to no avail.
I discovered that my old app was installed in my android emulator. This fixed it for me:
It turns out the emulator retains each app it installs instead of starting out as a blank slate each time as I expected. When it starts up, it tries to load the app with the earliest install time. So, it kept trying to run my old app and contact the old Metro server instead of running my new app.