FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:lintVitalAlphaRelease'.
> Could not resolve all artifacts for configuration ':raygun4reactnative:releaseRuntimeClasspath'.
> Could not resolve com.facebook.react:react-native:+.
Required by:
project :raygun4reactnative
> Failed to list versions for com.facebook.react:react-native.
> Unable to load Maven meta-data from https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml.
> Could not get resource '[https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml'](https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml).
> Could not GET '[https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml'](https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml).
> Read timed out
In your build.gradle file you need to remove reference to jcenter and replace it the more reliable mavenCentral. Example:
Bintray support has ended a while back (official announcement: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/).Today, Jcenter went down and so installing from this location is causing builds to fail (See https://github.com/facebook/react-native/issues/35136)
In your build.gradle file you need to remove reference to
jcenter
and replace it the more reliablemavenCentral
. Example: