When I run react-native run-android, it gives me the following error:
Could not connect to development server
** Ubuntu Try running these commands both in your root folder only:
sudo npm start --- this will pause automatically after saying -- Loading Graphs, done (something like this) ; when this is done -open another terminal
react-native run-android
If still the issue prevails, delete your build folder in android / ios execute this command and then execute the above mentioned commands in the same order
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res && react-native run-android**