Hello guys, I'm getting this error when I'm trying...
# android
s
Hello guys, I'm getting this error when I'm trying to build a new project in Android Studio 4.2 A problem occurred configuring root project 'YouHaveClass'. Could not resolve all artifacts for configuration ':classpath'. > Could not find org.jetbrains.kotlinkotlin gradle plugin1.5.0-release-764. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.5.0-release-764/kotlin-gradle-plugin-1.5.0-release-764.pom - https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.5.0-release-764/kotlin-gradle-plugin-1.5.0-release-764.pom Required by: project : Possible solution: - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html How can I resolve this?
u
change this 1.5.0-release-764 to 1.5.0
s
How can I do that?
u
check kotlin sdk variable in build.gradle file and change it accordingly
you can also use project structure dialog for updating
s
Thanks a lot!
u
so now your problem solved right?
s
Yes, it is solved
So, the problem started when I updated the Kotlin plugin
👍 1