同步错误:com.google.android.gms:play-services-base:17.2.0

nei*_*iza 1 android google-play-services android-gradle-plugin

同步我的项目时,我遇到了这个错误,我已经在网上搜索过,但是没有得到任何可以推动我前进的结果

错误

ERROR: Failed to resolve: com.google.android.gms:play-services-base:17.2.0
Run Code Online (Sandbox Code Playgroud)

以下是我的依赖

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

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

    dependencies {
        implementation fileTree(dir: 'libs', include: '*.jar')
        // SUB-PROJECT DEPENDENCIES START
        implementation(project(path: ":CordovaLib"))
        implementation 'com.android.support:support-annotations:28.0.0'
        implementation 'com.android.support:support-v4:28.0.0'
        implementation 'com.android.support:support-v4:28.0.0'
        implementation 'com.android.support:support-v13:28.0.0'
        implementation 'me.leolin:ShortcutBadger:1.1.22@aar'
        implementation 'com.google.firebase:firebase-core:17.2.0'
        implementation 'com.google.firebase:firebase-messaging:20.0.0'
        implementation 'com.google.android.gms:play-services-base:17.2.0'
        implementation 'com.google.android.gms:play-services-ads:18.2.0'

        // SUB-PROJECT DEPENDENCIES END
    }
Run Code Online (Sandbox Code Playgroud)

关于如何使其同步的任何解决方案?

Gab*_*tti 5

依赖项:

implementation 'com.google.android.gms:play-services-base:17.2.0'
Run Code Online (Sandbox Code Playgroud)

(当前)不存在

使用17.1.017.0.0

是最新可用版本的列表。
您也可以在发行说明页面中查看历史记录