Expo will not run the app Error: could not connect to TCP port 5554: cannot connect to 127.0.0.1:5554:

Viewed 83

I am using windows 10 and expo 46.0.9. I was trying to have android emulator for expo app project. I installed Android studio and set the path in environment variables. When i run my app in VS code terminal using

npm run start 

and after metro bundling i pressed "a" for android. My AVD mobile appeared on screen but i got following error on the terminal.

Error: could not connect to TCP port 5554: cannot connect to 127.0.0.1:5554: No connection could be made because the target machine actively refused it. (10061)

I followed a youtube tutorial video. Youtube tutorial for emulator. I searched on google but could not find the solution for android studio for expo.

Current result Error picture

Expected results expected results

1 Answers

Just code in the terminal

npm i

and wait for it to install all he required dependencies then restart the project using

yarn start or expo start

Related