When I run react-native run-android, it gives me the following error:
react-native run-android
Could not connect to development server
Easiest for MAC. Get ip address of your wifi network via ipconfig getifaddr en0. Then write that ip to your DEV settings -> Debug server host & port for device adding :8081 example. 192.21.22.143:8081. Then reload. That's it
ipconfig getifaddr en0
DEV settings -> Debug server host & port for device
:8081
192.21.22.143:8081