Following this: https://facebook.github.io/react-native/docs/getting-started.html , I've created an empty project and am trying to run it by doing: sudo react-native run-android This is what is produced:
Starting JS server...
Building and installing the app on the device (cd android && ./gradlew installDebug...
Downloading https://services.gradle.org/distributions/gradle-2.4-all.zip
Exception in thread "main" javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
(I can post the rest of the error if that would be useful). Does anyone have any advice?