科尔多瓦 gradle 6.0.1 错误 "Could not find com.android.tools.build:gradle:6.0.1"

cordova gradle 6.0.1 error "Could not find com.android.tools.build:gradle:6.0.1"

我正在尝试使用 cordova 在本地构建我的 Android 应用程序。我已经下载了最新的 gradle 版本,但在导出时出现此错误:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find com.android.tools.build:gradle:6.0.1.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/6.0.1/gradle-6.0.1.pom
       - https://jcenter.bintray.com/com/android/tools/build/gradle/6.0.1/gradle-6.0.1.pom
     Required by:
         project :

这是 build.gradle 构建脚本:

buildscript {
    repositories {
        mavenCentral()
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:6.0.1'
    }
}

allprojects {
    repositories {
        mavenCentral()
        jcenter()
    }
}

task wrapper(type: Wrapper) {
    gradleVersion = '6.0.1'
}

我的 gradle-wrapper.properties 还指出 distributionUrl 设置为 http\://services.gradle.org/distributions/gradle-6.0.1-all.zip

有人知道我做错了什么吗?

不要混淆gradle with the Android gradle pluing

'com.android.tools.build:gradle:6.0.1' 不存在。
插件的最新稳定版本是:com.android.tools.build:gradle:3.5.2.