Skip to content

Instantly share code, notes, and snippets.

@adibas03
Last active October 14, 2019 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adibas03/fc3aa2ed612e574da7f812344ac7f596 to your computer and use it in GitHub Desktop.
Save adibas03/fc3aa2ed612e574da7f812344ac7f596 to your computer and use it in GitHub Desktop.
React native setup errors trouble shooting
Ensure gradle version matches Java version
openjdk 11 & above: Gradle 5 & above
update distributionUrl in repo/android/gradle/wrapper/gradle-wrapper.properties to:
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1-all.zip
Unable to successfully start react-native server
https://stackoverflow.com/questions/57313661/stuck-on-info-starting-js-server
Could not determine java version from 'x.x.x'
Compare java versions between react-nativer `start` and `run-android`
setup to use jetify and AndroidX
https://github.com/kmagiera/react-native-gesture-handler/issues/647#issuecomment-527883108
Start up
https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment