

Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0-release-764 问题...
source link: https://droidyue.com/blog/2021/06/02/could-not-find-org-dot-jetbrains-dot-kotlin-kotlin-gradle-plugin-1-dot-5-0-release-764/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Could Not Find org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0-release-764 问题解决
Jun 2nd, 2021
最近新创建的 Android Studio 项目,都报这样的问题。
A problem occurred configuring root project 'TooLargeToolSample'.
> 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 中的文件内容
buildscript {
ext.kotlin_version = "1.5.0-release-764"
修改为如下即可。
buildscript {
ext.kotlin_version = "1.5.0"

Posted by androidyue Jun 2nd, 2021Android, Gradle, Kotlin, maven
Recommend
-
79
GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.
-
62
GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.
-
77
The Kotlin Programming Language
-
60
The Kotlin Programming Language. Contribute to JetBrains/kotlin development by creating an account on GitHub.
-
58
The Kotlin Programming Language. Contribute to JetBrains/kotlin development by creating an account on GitHub.
-
47
The Kotlin Programming Language. Contribute to JetBrains/kotlin development by creating an account on GitHub.
-
49
The Kotlin Programming Language. Contribute to JetBrains/kotlin development by creating an account on GitHub.
-
6
News Gradle JVM Toolchain Support in the Kotlin Plugin
-
18
gradle-grammarkit-plugin Important: This project requires Gradle 6.6 or newer, however it is recommended to use the latest Gradle available. Update it with:...
-
10
Sam Edwards in Gradle, Kotlin |
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK