无法解决:com.google.android.gms:play-services-maps:15.6.1 安装存储库和同步项目 在文件中显示 在项目结构对话框中显示

Failed to resolve: com.google.android.gms:play-services-maps:15.6.1 Install Repository and sync project Show in File Show in Project Structure dialog

apply plugin: 'com.android.application'

android {
    compileSdkVersion 27
    defaultConfig {
        applicationId "com.example.deegi.lab10"
        minSdkVersion 15
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    //noinspection GradleCompatible
    implementation 'com.android.support:appcompat-v7:27.1.1'
    implementation 'com.google.android.gms:play-services-maps:15.6.1'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

这是同步错误:Failed to resolve: com.google.android.gms:play-services-maps:15.6.1

build error: Could not find com.google.android.gms:play-services-maps:15.6.1. Searched in the following locations:

我的模拟器播放服务版本是:11.3.02

它发生是因为 com.google.android.gms:play-services-maps:15.6.1 不存在

使用:

com.google.android.gms:play-services-maps:15.0.1