When I run react-native run-android, it gives me the following error:
Could not connect to development server
Basically this error comes when npm server is not started.
So at first check the npm server status, if it's not running then start npm with command npm start and you can see in terminal:
Loading dependency graph done.
Now npm is started and run your app in another terminal with command
react-native run-android