The problem

Kotlin-gradle-plugin :1.5.0-release-764

why

Kotlin’s Maven repository does not contain the 1.5.0-release-764 version:

To solve

The solution is to change the kotlin version to the maven repository version in the build.gradle project:

Buildscript {//ext.kotlin_version = "1.5.0-release-764" ext.kotlin_version = "1.5.0" Repositories {Google () MavenCentral dependencies ()} {the classpath "com. Android. View the build: gradle: 4.2.0" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } }Copy the code