Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/219.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
“错误”&燃气轮机;无法解析配置';的所有项目:类路径'&引用;关于Android Studio_Android_Android Studio_Kotlin - Fatal编程技术网

“错误”&燃气轮机;无法解析配置';的所有项目:类路径'&引用;关于Android Studio

“错误”&燃气轮机;无法解析配置';的所有项目:类路径'&引用;关于Android Studio,android,android-studio,kotlin,Android,Android Studio,Kotlin,在Android Studio中创建新项目时出现以下错误: A problem occurred configuring root project 'Hello World Android Studio'. > Could not resolve all artifacts for configuration ':classpath'. > Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0-releas

在Android Studio中创建新项目时出现以下错误:

A problem occurred configuring root project 'Hello World Android Studio'.
> 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中替换
classpath“org.jetbrains.kotlin:kotlin gradle plugin:$kotlin_version”

classpath“org.jetbrains.kotlin:kotlin gradle插件:1.5.0


然后单击“重试”

这是否回答了您的问题?