Build is failing due to jcenter dependency disappearing
See original GitHub issueOur 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:
- Created 5 years ago
- Reactions:9
- Comments:17 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I mean the
build.graddle
ofreact-native-share
:node_modules/react-native-share/android/build.graddle
done: https://github.com/react-native-community/react-native-share/releases/tag/v1.1.3 https://www.npmjs.com/package/react-native-share