-
Notifications
You must be signed in to change notification settings - Fork 27.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not resolve all artifacts for configuration 'classpath' #23553
Comments
Merging with #23404 |
same issue |
I solved the problem by moving : maven {
url 'https://dl.google.com/dl/android/maven2'
} in the top of: jcenter() in the file: buildscript {
repositories {
maven {
url 'https://dl.google.com/dl/android/maven2'
}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
}
} |
|
@Parth1029 It is solved! Thank you 👍 |
@Parth1029 thanks it works on my app as well! |
still i am facing the issue. |
@ Parth1029 Great work! Thx. |
@Parth1029 still i am facing the issue, i tried to adding google(), but still i am getting same issue. |
Upgrading Flutter should fix it @rravithejareddy |
Fixed by adding |
I solved the problem. |
|
I solved the problem.In android folder,edit build.gradle file like this: buildscript {
repositories {
google()
mavenCentral() //add this line
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
}
} It works. |
I had the same problem :
The problem occurred when I was trying to add a package to my |
I have made all the possible changes but still I am facing this issue. Please help me. Here is I am getting while performing A problem occurred configuring root project 'newAppo'.
|
pls same issue. error message below:
|
Hi, I have this problem when I try to execute a Serenity BDD project, I need to run from command line a gradle execution but generate that problem. $ gradle clean test aggregate FAILURE: Build failed with an exception.
BUILD FAILED in 6m 31s And this is my build.gradle buildscript {
} plugins { repositories { apply plugin: 'net.serenity-bdd.aggregator' defaultTasks = ['clean', 'build'] tasks.withType(Test) { dependencies {
} serenity { test.finalizedBy(aggregate) Please help me, with this problem |
I run it on vs code and throws the same problem. like below:
Open terminal goes to
|
TakeEasyBoy's suggestion worked for me. Thanks. |
Go to cordova-support-google-services/app-build.gradle, replace maventCentral() with |
I did everything that written this page but it doesn't work. |
@TakeEasyBoy not work. I'm dying |
@Parth1029 not work. I'm dying really. |
@Suppppppp I updated flutter 1.9.1+hotfix.6 , but it doesn't work also. what your flutter version.
|
not work. I'm dying really too |
I faced this error after upgrading to Flutter 1.12.13+hotfix.5 :
|
@flutteradv Update flutter, Accept android licences flutter |
I ended up reverting back to flutter 1.9.1 |
I couldn't find the file |
It Worked! |
.flutter is just a convention, here '.flutter' is the path where you extracted or installed flutter in your system. Hope this helps you. |
edit the following in build.gradle :
|
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all artifacts for configuration ':classpath'. i Dont know why am getting this error...... THIS IS MY build.gradle // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript {
} allprojects {
} task clean(type: Delete) { |
I solved it by....
It worked for me, i'm using Windows... |
this is outrageous WHEN WILL THEY FINALLY DESIGN SOMETHING THATS CONFIGURABLE FROM THE ROOT FILE CONFIG.XML AND BE DONE WITH IT... environment variables anyone ? I know if Im going to shoot my mouth off I should do it myself well its simple a root environment variable that trickles down thru the whole archetype DONE and maybe a flag for caching to prevent tangled repo jars |
@gayanramyakumara I am also facing same issue can i know how you solved this issue. |
i went with capacitor |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
From URL: https://www.flutterchina.club/support.md
I have already done:
The text was updated successfully, but these errors were encountered: