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
Open Command Prompt as Administrator and goto the project folder, run android(npx react-native run-android)