Java 配置根项目时出现问题。我需要做什么?

Java 配置根项目时出现问题。我需要做什么?,java,android,android-studio,kotlin,Java,Android,Android Studio,Kotlin,我刚刚创建了一个新的android项目来测试一些独立于我的主项目的东西,事情就这样发生了。我试了好几次,每次都犯同样的错误 A problem occurred configuring root project 'login_test'. > Could not resolve all artifacts for configuration ':classpath'. > Could not find org.jetbrains.kotlin:kotlin-gradle-plu

我刚刚创建了一个新的android项目来测试一些独立于我的主项目的东西,事情就这样发生了。我试了好几次,每次都犯同样的错误

A problem occurred configuring root project 'login_test'.
> 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/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

尝试在根目录下的build.gradle中更改kotlin的版本

buildscript {
ext.kotlin_version = '1.0.0'
ext.kotlin_version = "1.3.72"
repositories {
    google()
    jcenter()
}
dependencies {
    classpath "com.android.tools.build:gradle:4.1.1"
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
}