Gradle не удалось разрешить com.google.android.gms: play-services-auth: 11.6.0 [duplicate]

На этот вопрос уже есть ответ:

Не удалось разрешить com.google.android.gms play-services-auth: 11.4.0 11 ответов Не удалось разрешить: com.android.support:appcompat-v7:26.0. 10 ответов

Я пытаюсь использовать Google для входа в свое мобильное приложение, но у меня появляется следующая ошибка после ознакомления с руководством Google.

"не удалось разрешить: com.google.android.gms: play-services-auth: 11.6.0"

Мои файлы Gradle:

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.3'
        classpath 'com.google.gms:google-services:3.1.0'


        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

а другой:

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'

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

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'com.android.support:appcompat-v7:25.1.0'
    testCompile 'junit:junit:4.12'
    compile 'com.google.android.gms:play-services-auth:11.6.0'
}

Так что тут не так и почему я не могу построить проект?

Ответы на вопрос(3)

Ваш ответ на вопрос