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.

Build is failing due to jcenter dependency disappearing

See original GitHub issue

Our build has been failing since yesterday and pointing the finger at react-native-share

* What went wrong:
A problem occurred configuring project ':react-native-share'.
> Could not resolve all files for configuration ':react-native-share:classpath'.
   > Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar

It looks like this dependency has disappeared from bintray, though the .pom file is still in the folder https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/

https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar

{
  "errors" : [ {
    "status" : 404,
    "message" : "Could not find resource"
  } ]
}

I realise this is likely to be an upstream issue, but am hoping that someone here has an idea what we can do to fix this, since it’s coming through react-native-share?

Environment

  • React Native version: 0.53.3
  • React Native platform + platform version: Android build
  • Gradle version: 4.4

react-native-share

Version: 1.1.2

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:17 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
AdriaRioscommented, Oct 23, 2018

I mean the build.graddle of react-native-share:

node_modules/react-native-share/android/build.graddle

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build is failing due to jcenter dependency disappearing #734
Basically some packages got removed from the jcenter repository. Their fix was to add the google() repo, and upgrade to gradle 3.2.1. Could...
Read more >
Plugin Portal Dependency Resolution Failing Due to JCenter ...
I noticed this because Jitpack builds are failing, but I can reproduce the problem locally by adding the --refresh-dependencies flag.
Read more >
jcenter repository disappeared - gradle - Stack Overflow
I get an android source code with org.litepal.android:java:3.0.0. dependency, this dependency can be found in jcenter, according to ...
Read more >
JCenter and Bintray is shutting down, what to do? - TestFairy
JFrog announced that they will be shutting down Bintray and JCenter on February 3rd 2021. Here are the steps to fix your Android...
Read more >
Android native or React Native build fails due to missing ...
There has been quite a few reports from developers seeing failed builds due to missing gradle dependencies in Bintray JCenter.
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