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 error when it tries to build:
ERROR: Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.21/kotlin-stdlib-jdk8-1.3.21.pom'. Received status code 502 from server: Bad Gateway Enable Gradle 'offline mode' and sync project
My build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
If I go in my web browser to that URL I can't connect either. https://jcenter.bintray.com/
Does this mean the site is temporarily down or is there something I need to add to my build files?
BTW I selected Java for the project and not Kotlin on setup if that matters so not even sure why it's trying to get kotlin stuff.
android android-gradle jcenter
add a comment |
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 error when it tries to build:
ERROR: Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.21/kotlin-stdlib-jdk8-1.3.21.pom'. Received status code 502 from server: Bad Gateway Enable Gradle 'offline mode' and sync project
My build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
If I go in my web browser to that URL I can't connect either. https://jcenter.bintray.com/
Does this mean the site is temporarily down or is there something I need to add to my build files?
BTW I selected Java for the project and not Kotlin on setup if that matters so not even sure why it's trying to get kotlin stuff.
android android-gradle jcenter
I'm experiencing this as well and thought it was very weird. Since I'm not the only one, I'm thinking it may be temporary
– Chisko
yesterday
maybe we should not upgrade the gradle to 3.3.2 yet
– Alfred Angkasa
yesterday
@ישואוהבאותך Just a query about your closure, surely it would have been better to close the other question as a dupe of this one? This one was posted sooner and has a higher vote count.
– Michael Dodd
yesterday
@MichaelDodd: Okay, you're right. I'll close the newest one and post an answer here.
– ישו אוהב אותך
yesterday
seems working right now
– Basi
yesterday
add a comment |
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 error when it tries to build:
ERROR: Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.21/kotlin-stdlib-jdk8-1.3.21.pom'. Received status code 502 from server: Bad Gateway Enable Gradle 'offline mode' and sync project
My build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
If I go in my web browser to that URL I can't connect either. https://jcenter.bintray.com/
Does this mean the site is temporarily down or is there something I need to add to my build files?
BTW I selected Java for the project and not Kotlin on setup if that matters so not even sure why it's trying to get kotlin stuff.
android android-gradle jcenter
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 error when it tries to build:
ERROR: Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.21/kotlin-stdlib-jdk8-1.3.21.pom'. Received status code 502 from server: Bad Gateway Enable Gradle 'offline mode' and sync project
My build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
If I go in my web browser to that URL I can't connect either. https://jcenter.bintray.com/
Does this mean the site is temporarily down or is there something I need to add to my build files?
BTW I selected Java for the project and not Kotlin on setup if that matters so not even sure why it's trying to get kotlin stuff.
android android-gradle jcenter
android android-gradle jcenter
edited yesterday
ישו אוהב אותך
16k84260
16k84260
asked yesterday
user8810083user8810083
229112
229112
I'm experiencing this as well and thought it was very weird. Since I'm not the only one, I'm thinking it may be temporary
– Chisko
yesterday
maybe we should not upgrade the gradle to 3.3.2 yet
– Alfred Angkasa
yesterday
@ישואוהבאותך Just a query about your closure, surely it would have been better to close the other question as a dupe of this one? This one was posted sooner and has a higher vote count.
– Michael Dodd
yesterday
@MichaelDodd: Okay, you're right. I'll close the newest one and post an answer here.
– ישו אוהב אותך
yesterday
seems working right now
– Basi
yesterday
add a comment |
I'm experiencing this as well and thought it was very weird. Since I'm not the only one, I'm thinking it may be temporary
– Chisko
yesterday
maybe we should not upgrade the gradle to 3.3.2 yet
– Alfred Angkasa
yesterday
@ישואוהבאותך Just a query about your closure, surely it would have been better to close the other question as a dupe of this one? This one was posted sooner and has a higher vote count.
– Michael Dodd
yesterday
@MichaelDodd: Okay, you're right. I'll close the newest one and post an answer here.
– ישו אוהב אותך
yesterday
seems working right now
– Basi
yesterday
I'm experiencing this as well and thought it was very weird. Since I'm not the only one, I'm thinking it may be temporary
– Chisko
yesterday
I'm experiencing this as well and thought it was very weird. Since I'm not the only one, I'm thinking it may be temporary
– Chisko
yesterday
maybe we should not upgrade the gradle to 3.3.2 yet
– Alfred Angkasa
yesterday
maybe we should not upgrade the gradle to 3.3.2 yet
– Alfred Angkasa
yesterday
@ישואוהבאותך Just a query about your closure, surely it would have been better to close the other question as a dupe of this one? This one was posted sooner and has a higher vote count.
– Michael Dodd
yesterday
@ישואוהבאותך Just a query about your closure, surely it would have been better to close the other question as a dupe of this one? This one was posted sooner and has a higher vote count.
– Michael Dodd
yesterday
@MichaelDodd: Okay, you're right. I'll close the newest one and post an answer here.
– ישו אוהב אותך
yesterday
@MichaelDodd: Okay, you're right. I'll close the newest one and post an answer here.
– ישו אוהב אותך
yesterday
seems working right now
– Basi
yesterday
seems working right now
– Basi
yesterday
add a comment |
9 Answers
9
active
oldest
votes
jcenter is currently down. In the end adding mavenCentral()
to both sets of repositories in the project build.gradle
file worked as a workaround for me:
buildscript {
repositories {
mavenCentral()
google()
jcenter()
...
allprojects {
repositories {
mavenCentral()
google()
jcenter()
...
I've just tested it. It works. I think you should mark this as an accepted answer.
– Hau Luu
yesterday
Not working for me.
– MateenSheikh
yesterday
@MateenSheikh , do you still get the same error? What does your build file look like?
– user8810083
yesterday
@HauLuu I have to wait 2 days to mark my own answer as accepted
– user8810083
yesterday
@user8810083 jcenter is working fine now so issue is resolved.
– MateenSheikh
yesterday
add a comment |
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'
doesn't seem to be working for me
– Saurabh
yesterday
@Saurabh can you be more specific?
– Chisko
yesterday
@Chisko I'm still getting the same error as OP
– Saurabh
yesterday
this didn't work for me, but see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
this gives me a read timeout error.
– Vikas Kumar
yesterday
add a comment |
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.
1
see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
The server is broken! I did a completely fresh install of android studio and can't create a new project
– Benjamin
yesterday
@Benjamin , adding mavenCentral as repository is a workaround for now
– user8810083
yesterday
add a comment |
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
add a comment |
replace jcenter() with mavenCentral()
because jcenter is not available now
add a comment |
Actually android studio already had the solution for you :
Syncing only active variant
You can disable this experimental feature from
File → Settings → Experimental → Gradle → Only sync the active variant
New contributor
add a comment |
I have same issue, and I tried aliyun maven in this issue's answer,
jcenter 502 bad gateway after gradle refresh
and it works. So I temporary use this for building app.
add a comment |
Add this to dependencies
block
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21"
Maybe the OP doesn't need Kotlin support
– Chisko
yesterday
add a comment |
Actually jcenter currently is down, you can check it with this link and this twitter hashtag for more information.
3
This has already been mentioned several times
– Zoe
yesterday
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55276279%2funable-to-get-dependencies-from-jcenter-with-a-new-project%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
9 Answers
9
active
oldest
votes
9 Answers
9
active
oldest
votes
active
oldest
votes
active
oldest
votes
jcenter is currently down. In the end adding mavenCentral()
to both sets of repositories in the project build.gradle
file worked as a workaround for me:
buildscript {
repositories {
mavenCentral()
google()
jcenter()
...
allprojects {
repositories {
mavenCentral()
google()
jcenter()
...
I've just tested it. It works. I think you should mark this as an accepted answer.
– Hau Luu
yesterday
Not working for me.
– MateenSheikh
yesterday
@MateenSheikh , do you still get the same error? What does your build file look like?
– user8810083
yesterday
@HauLuu I have to wait 2 days to mark my own answer as accepted
– user8810083
yesterday
@user8810083 jcenter is working fine now so issue is resolved.
– MateenSheikh
yesterday
add a comment |
jcenter is currently down. In the end adding mavenCentral()
to both sets of repositories in the project build.gradle
file worked as a workaround for me:
buildscript {
repositories {
mavenCentral()
google()
jcenter()
...
allprojects {
repositories {
mavenCentral()
google()
jcenter()
...
I've just tested it. It works. I think you should mark this as an accepted answer.
– Hau Luu
yesterday
Not working for me.
– MateenSheikh
yesterday
@MateenSheikh , do you still get the same error? What does your build file look like?
– user8810083
yesterday
@HauLuu I have to wait 2 days to mark my own answer as accepted
– user8810083
yesterday
@user8810083 jcenter is working fine now so issue is resolved.
– MateenSheikh
yesterday
add a comment |
jcenter is currently down. In the end adding mavenCentral()
to both sets of repositories in the project build.gradle
file worked as a workaround for me:
buildscript {
repositories {
mavenCentral()
google()
jcenter()
...
allprojects {
repositories {
mavenCentral()
google()
jcenter()
...
jcenter is currently down. In the end adding mavenCentral()
to both sets of repositories in the project build.gradle
file worked as a workaround for me:
buildscript {
repositories {
mavenCentral()
google()
jcenter()
...
allprojects {
repositories {
mavenCentral()
google()
jcenter()
...
edited yesterday
ישו אוהב אותך
16k84260
16k84260
answered yesterday
user8810083user8810083
229112
229112
I've just tested it. It works. I think you should mark this as an accepted answer.
– Hau Luu
yesterday
Not working for me.
– MateenSheikh
yesterday
@MateenSheikh , do you still get the same error? What does your build file look like?
– user8810083
yesterday
@HauLuu I have to wait 2 days to mark my own answer as accepted
– user8810083
yesterday
@user8810083 jcenter is working fine now so issue is resolved.
– MateenSheikh
yesterday
add a comment |
I've just tested it. It works. I think you should mark this as an accepted answer.
– Hau Luu
yesterday
Not working for me.
– MateenSheikh
yesterday
@MateenSheikh , do you still get the same error? What does your build file look like?
– user8810083
yesterday
@HauLuu I have to wait 2 days to mark my own answer as accepted
– user8810083
yesterday
@user8810083 jcenter is working fine now so issue is resolved.
– MateenSheikh
yesterday
I've just tested it. It works. I think you should mark this as an accepted answer.
– Hau Luu
yesterday
I've just tested it. It works. I think you should mark this as an accepted answer.
– Hau Luu
yesterday
Not working for me.
– MateenSheikh
yesterday
Not working for me.
– MateenSheikh
yesterday
@MateenSheikh , do you still get the same error? What does your build file look like?
– user8810083
yesterday
@MateenSheikh , do you still get the same error? What does your build file look like?
– user8810083
yesterday
@HauLuu I have to wait 2 days to mark my own answer as accepted
– user8810083
yesterday
@HauLuu I have to wait 2 days to mark my own answer as accepted
– user8810083
yesterday
@user8810083 jcenter is working fine now so issue is resolved.
– MateenSheikh
yesterday
@user8810083 jcenter is working fine now so issue is resolved.
– MateenSheikh
yesterday
add a comment |
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'
doesn't seem to be working for me
– Saurabh
yesterday
@Saurabh can you be more specific?
– Chisko
yesterday
@Chisko I'm still getting the same error as OP
– Saurabh
yesterday
this didn't work for me, but see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
this gives me a read timeout error.
– Vikas Kumar
yesterday
add a comment |
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'
doesn't seem to be working for me
– Saurabh
yesterday
@Saurabh can you be more specific?
– Chisko
yesterday
@Chisko I'm still getting the same error as OP
– Saurabh
yesterday
this didn't work for me, but see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
this gives me a read timeout error.
– Vikas Kumar
yesterday
add a comment |
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'
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'
answered yesterday
ChiskoChisko
1,94251835
1,94251835
doesn't seem to be working for me
– Saurabh
yesterday
@Saurabh can you be more specific?
– Chisko
yesterday
@Chisko I'm still getting the same error as OP
– Saurabh
yesterday
this didn't work for me, but see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
this gives me a read timeout error.
– Vikas Kumar
yesterday
add a comment |
doesn't seem to be working for me
– Saurabh
yesterday
@Saurabh can you be more specific?
– Chisko
yesterday
@Chisko I'm still getting the same error as OP
– Saurabh
yesterday
this didn't work for me, but see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
this gives me a read timeout error.
– Vikas Kumar
yesterday
doesn't seem to be working for me
– Saurabh
yesterday
doesn't seem to be working for me
– Saurabh
yesterday
@Saurabh can you be more specific?
– Chisko
yesterday
@Saurabh can you be more specific?
– Chisko
yesterday
@Chisko I'm still getting the same error as OP
– Saurabh
yesterday
@Chisko I'm still getting the same error as OP
– Saurabh
yesterday
this didn't work for me, but see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
this didn't work for me, but see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
this gives me a read timeout error.
– Vikas Kumar
yesterday
this gives me a read timeout error.
– Vikas Kumar
yesterday
add a comment |
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.
1
see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
The server is broken! I did a completely fresh install of android studio and can't create a new project
– Benjamin
yesterday
@Benjamin , adding mavenCentral as repository is a workaround for now
– user8810083
yesterday
add a comment |
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.
1
see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
The server is broken! I did a completely fresh install of android studio and can't create a new project
– Benjamin
yesterday
@Benjamin , adding mavenCentral as repository is a workaround for now
– user8810083
yesterday
add a comment |
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.
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.
answered yesterday
Hau LuuHau Luu
1491214
1491214
1
see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
The server is broken! I did a completely fresh install of android studio and can't create a new project
– Benjamin
yesterday
@Benjamin , adding mavenCentral as repository is a workaround for now
– user8810083
yesterday
add a comment |
1
see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
The server is broken! I did a completely fresh install of android studio and can't create a new project
– Benjamin
yesterday
@Benjamin , adding mavenCentral as repository is a workaround for now
– user8810083
yesterday
1
1
see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
see the answer I just posted. Just adding mavenCentral() to both sets of repositories works for me now
– user8810083
yesterday
The server is broken! I did a completely fresh install of android studio and can't create a new project
– Benjamin
yesterday
The server is broken! I did a completely fresh install of android studio and can't create a new project
– Benjamin
yesterday
@Benjamin , adding mavenCentral as repository is a workaround for now
– user8810083
yesterday
@Benjamin , adding mavenCentral as repository is a workaround for now
– user8810083
yesterday
add a comment |
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
add a comment |
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
add a comment |
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
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
edited yesterday
answered yesterday
ישו אוהב אותךישו אוהב אותך
16k84260
16k84260
add a comment |
add a comment |
replace jcenter() with mavenCentral()
because jcenter is not available now
add a comment |
replace jcenter() with mavenCentral()
because jcenter is not available now
add a comment |
replace jcenter() with mavenCentral()
because jcenter is not available now
replace jcenter() with mavenCentral()
because jcenter is not available now
answered yesterday
MasterMaster
112
112
add a comment |
add a comment |
Actually android studio already had the solution for you :
Syncing only active variant
You can disable this experimental feature from
File → Settings → Experimental → Gradle → Only sync the active variant
New contributor
add a comment |
Actually android studio already had the solution for you :
Syncing only active variant
You can disable this experimental feature from
File → Settings → Experimental → Gradle → Only sync the active variant
New contributor
add a comment |
Actually android studio already had the solution for you :
Syncing only active variant
You can disable this experimental feature from
File → Settings → Experimental → Gradle → Only sync the active variant
New contributor
Actually android studio already had the solution for you :
Syncing only active variant
You can disable this experimental feature from
File → Settings → Experimental → Gradle → Only sync the active variant
New contributor
New contributor
answered yesterday
Ahmad Zuhair DzulfiqorAhmad Zuhair Dzulfiqor
111
111
New contributor
New contributor
add a comment |
add a comment |
I have same issue, and I tried aliyun maven in this issue's answer,
jcenter 502 bad gateway after gradle refresh
and it works. So I temporary use this for building app.
add a comment |
I have same issue, and I tried aliyun maven in this issue's answer,
jcenter 502 bad gateway after gradle refresh
and it works. So I temporary use this for building app.
add a comment |
I have same issue, and I tried aliyun maven in this issue's answer,
jcenter 502 bad gateway after gradle refresh
and it works. So I temporary use this for building app.
I have same issue, and I tried aliyun maven in this issue's answer,
jcenter 502 bad gateway after gradle refresh
and it works. So I temporary use this for building app.
edited 21 hours ago
answered yesterday
TingTing
25026
25026
add a comment |
add a comment |
Add this to dependencies
block
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21"
Maybe the OP doesn't need Kotlin support
– Chisko
yesterday
add a comment |
Add this to dependencies
block
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21"
Maybe the OP doesn't need Kotlin support
– Chisko
yesterday
add a comment |
Add this to dependencies
block
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21"
Add this to dependencies
block
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21"
answered yesterday
DemonickDemonick
1,51022231
1,51022231
Maybe the OP doesn't need Kotlin support
– Chisko
yesterday
add a comment |
Maybe the OP doesn't need Kotlin support
– Chisko
yesterday
Maybe the OP doesn't need Kotlin support
– Chisko
yesterday
Maybe the OP doesn't need Kotlin support
– Chisko
yesterday
add a comment |
Actually jcenter currently is down, you can check it with this link and this twitter hashtag for more information.
3
This has already been mentioned several times
– Zoe
yesterday
add a comment |
Actually jcenter currently is down, you can check it with this link and this twitter hashtag for more information.
3
This has already been mentioned several times
– Zoe
yesterday
add a comment |
Actually jcenter currently is down, you can check it with this link and this twitter hashtag for more information.
Actually jcenter currently is down, you can check it with this link and this twitter hashtag for more information.
answered yesterday
pahlevikunpahlevikun
163
163
3
This has already been mentioned several times
– Zoe
yesterday
add a comment |
3
This has already been mentioned several times
– Zoe
yesterday
3
3
This has already been mentioned several times
– Zoe
yesterday
This has already been mentioned several times
– Zoe
yesterday
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55276279%2funable-to-get-dependencies-from-jcenter-with-a-new-project%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I'm experiencing this as well and thought it was very weird. Since I'm not the only one, I'm thinking it may be temporary
– Chisko
yesterday
maybe we should not upgrade the gradle to 3.3.2 yet
– Alfred Angkasa
yesterday
@ישואוהבאותך Just a query about your closure, surely it would have been better to close the other question as a dupe of this one? This one was posted sooner and has a higher vote count.
– Michael Dodd
yesterday
@MichaelDodd: Okay, you're right. I'll close the newest one and post an answer here.
– ישו אוהב אותך
yesterday
seems working right now
– Basi
yesterday