Console error React Native version mismatch

Console error React Native version mismatch


Follow steps below:
  • Close all Terminals 
  • Uninstall the app 
  • lsof -i :8081 
  • kill -9 PID 
  • react-native link 
Use
compile("com.facebook.react:react-native:0.51.0") { force = true }

Instead of
compile "com.facebook.react:react-native:0.51.0" { force = true }


  • Finally, Rebuild the app
  • react-native run-android 
  • react-native run-ios

    Thank you