When I run react-native run-android
, it gives me the following error:
Could not connect to development server
- Package server is running and I can access it directly from browseron my mobile device.
- My Android device is connected to computer and has debugging enabled (Ichecked using
adb devices
command). - My Android version is 4.4.4 so I cannot use
adb reverse
command. - I have set the ID address and port in Dev setting.
- USB debug is on.
- I use Windows 7.
How to fix this error?