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.

Jcenter needs to be removed

See original GitHub issue

@emeraldsanto today jcenter is down, please change to mavenCentral()

`FAILURE: Build failed with an exception. What went wrong: Could not determine the dependencies of task ‘:react-native-encrypted-storage:generateDebugRFile’.

Could not resolve all task dependencies for configuration ‘:react-native-encrypted-storage:debugRuntimeClasspath’. Could not resolve com.facebook.react:react-native:+. Required by: project :react-native-encrypted-storage 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:6
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
emeraldsantocommented, Nov 3, 2022

Closed in #98 and shipped in 4.0.3

0reactions
dcoulter45commented, Oct 31, 2022

Patch file if anyone needs a work around now:

diff --git a/node_modules/react-native-encrypted-storage/android/build.gradle b/node_modules/react-native-encrypted-storage/android/build.gradle
index b762894..0ef4a1c 100644
--- a/node_modules/react-native-encrypted-storage/android/build.gradle
+++ b/node_modules/react-native-encrypted-storage/android/build.gradle
@@ -1,7 +1,7 @@
 buildscript {
   repositories {
+    mavenCentral()
     google()
-    jcenter()
   }
 
   dependencies {
@@ -48,7 +48,6 @@ android {
 
 repositories {
   mavenCentral()
-  jcenter()
   google()
 
   def found = false
Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Studio Gradle: Please remove usages of `jcenter ...
I went from all heck breaking loose after I removed jcenter() to being ... First, we need to move MavenCentral above jCenter in...
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 >
Migrating away from JCenter - Jeroen Mols
Migrating your app away from JCenter can be done by replacing all jcenter() references with mavenCentral() and adding explicit inclusions for ...
Read more >
Jcenter needs to be removed · Issue #501 - GitHub
Environment Android Description Jcenter is not stable at the moment and its support will be discontinued. I am trying to compile my app ......
Read more >
Upgrade Android Project from JCenter to Maven Central
February 1, 2022 - JCenter will be completely shut down. All Android developers should switch off of JCenter in order to continue getting ......
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