Error: - Received status code 502 from server: Bad Gateway in React Native Android

I have found the solution follow below steps:

  1. kill terminal
  2. open project in Android Studio (Android folder location).
  3. Click on sync in logcat . Project will build successfully.
  4. Run the project on emulator / real device.
  5. react-native start
  6. Reload the App .

Issue will be resolved. :grinning: :smiley: