Skip to content Skip to sidebar Skip to footer

Unable To Get Dependencies From Jcenter With A New Project

I'm unable to get kotlin pom from jcenter with a new project. All I have done is gone File->New Project and created a new project with no activity. I'm getting the following err

Solution 1:

jcenter is currently down. In the end adding mavenCentral() to both sets of repositories in the projectbuild.gradle file worked as a workaround for me:

buildscript {
    repositories {
        mavenCentral()
        google()
        jcenter()

...

allprojects {
    repositories {
        mavenCentral() 
        google() 
        jcenter()

...

Solution 2:

Downgrade Gradle version is not a good fix for me. I did google around and found this. Jcenter is dead. For now.

https://status.bintray.com/?fbclid=IwAR3NLsnuGA5xqbFhcPsVLWX2c9TG40JWQcDYM7RTVsDm0qDSQvfjmhabhPg

I think all we can do is wait.

Solution 3:

While mostly meant as a temporary, change-back-again-when-jcenter-is-working solution, this can be fixed by downgrading the gradle plugin version to 3.3.1 in the project's gradle file:

classpath 'com.android.tools.build:gradle:3.3.1'

Solution 4:

replace jcenter() with mavenCentral() because jcenter is not available now

Solution 5:

There is a problem in Downloads section with Partial Outage in jfrog bintray (https://status.bintray.com/incidents/2wvx6d5f807c):

Intermittent download issues in Bintray

You can see the current status in https://status.bintray.com/


Update Status from jfrog Bintray:

Update- There are still intermittent download issues in Oregon region (north America). We are still working on identifying the root cause. 
Mar 21, 10:02 UTC

Post a Comment for "Unable To Get Dependencies From Jcenter With A New Project"