question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Describe the bug

Android build fails due to JCenter’s unavailability.

Steps to reproduce

Just try to build RN app with @bugsnag/react-native 7.18.1

Environment

  • Bugsnag version: 7.18.1
  • React Native version: 0.69.4

Error message

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':bugsnag_react-native:verifyReleaseResources'.
> Could not resolve all task dependencies for configuration ':bugsnag_react-native:releaseRuntimeClasspath'.
   > Could not resolve com.facebook.react:react-native:+.
     Required by:
         project :bugsnag_react-native
      > 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 HEAD 'https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml'.
               > Read timed out

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:5
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
shakawycommented, Oct 31, 2022

Build now is working fine!

3reactions
luke-beltoncommented, Oct 31, 2022

Hi all - as I’m sure you’re aware, it looks like jCenter has been having some issues over the past couple of days. We’re discussing the impact of this internally and will provide an update to this thread as soon as possible.

There is a stackoverflow thread here which you may find useful for potential workarounds depending on your app’s setup.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JCenter service update - Android Developers
JFrog, the company that maintains the JCenter artifact repository used by many Android projects, made JCenter a read-only repository on March 31, 2021....
Read more >
JCenter deprecation; impact on Gradle and Android
According to this Gradle blog post: Gradle 7.0 will deprecate the use of jcenter() to resolve dependencies. You will still be able to...
Read more >
JCenter Shutdown Impact on Gradle Builds
UPDATE: JFrog has decided to keep JCenter as a read-only repository indefinitely. New package and versions are no longer accepted on JCenter.
Read more >
jCenter Dependencies in Android Studio - LoginRadius Blog
Learn how to make use of jCenter dependencies in Android Studio. ... jCenter is the public repository hosted at bintray that is free...
Read more >
Upgrade Android Project from JCenter to Maven Central
Follow these steps to add Maven Central to your project to continue getting Android SDK updates.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found