I’m also running into this similar issue.
After I run
expo start and click on
Run on Android device/emulator I get this error:
Couldn't start project on Android: could not connect to TCP port 5562: Connection refused
adb devices gives me:
List of devices attached
telnet 127.0.0.1 5562 returns:
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
I have tried restarting the adb server, and also turning off my firewall, but I get the same result. Wondering if it has to do with
emulator-5562 showing as
offline. I have tried removing all virtual devices from AVD Manager and re-adding, and have noticed that that
emulator-5562 still persisted through the purge.
I also tried deleting
.expo and running
expo start -c, but same result.
Any ideas on what’s going on and how to address this?
Expo CLI 3.28.5
Android Studio 4.1.1
Android Emulator: Pixel 4 API 30