Answer the question
In order to leave comments, you need to log in
> Could not resolve all artifacts for configuration ':classpath'?
Good Day just downloaded the AC
when creating projects, it gives an error
A problem occurred configuring root project 'My Application'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0-release-764.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jetbrains...
- https://repo.maven.apache.org/maven2/org/jetbrains...
Required by:
project :
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declarin...
Answer the question
In order to leave comments, you need to log in
It's strange, of course, but it's really not there ...
Try adding the repository https://repo1.maven.org/maven2/
It will look something like this:
build.gradle.kts
repositories {
mavenCentral()
google()
maven {
url = uri("https://repo1.maven.org/maven2/")
}
}
repositories {
mavenCentral()
google()
maven {
url "https://repo1.maven.org/maven2/"
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question