- Open your app with the red screen and then shake it to load the in-app menu
- Click Dev Settings in the bottom
- Click Debug server host and port for device under debugging section and enter your computer local IP and the ports correctly. (10.0.1.4:801)
- Enable Live reloading / Live hot reloading.
If not do this
adb reverse tcp:8081 tcp:8081
You may have to go inside to platform-tools folder.
eg (PATH="%PATH%;C:\Users\Admin\AppData\Local\Android\sdk\platform-tools" )
If any of the above didn't work try the following
rm -rf node_modules && npm install
(Delete the node module folder and run the npm again)