I had an issue in my React-Native project which was working fine earlier but suddenly it stopped working. Whenever I used the command:
react-native run-andro
I know it is an old question but any of those solutions did not work for me and maybe there are others like me. I solved my problem running this command before run-android
run-android
react-native eject