Failed to resolve: com.google.android.gms: play-services: 15.0.1

0

Good evening, I ask for help with this error.

// Failed to resolve: com.google.android.gms: play-services: 15.0.1 //

I need to use com.google.android.gms: play-services: 15.0.1 BUT when using Gradle sync I get the above mentioned error I request the HELP !!

Estoy usando Android Studio 3.1.3

This is the build.gradle (Project:)

buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.4'
        classpath 'com.google.gms:google-services:4.0.0'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}
allprojects {
    repositories {
        google()
        jcenter()
        maven{
            url 'https://maven.google.com'
        }
        maven{
            url 'https://dl.bintray.com/glomadrian/maven'
        }
    }
}

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

This is the build.gradle (Module:)

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "menpaqfast.menpaqfastconductor"
        minSdkVersion 19
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    buildToolsVersion '28.0.0'


  [1]: https://i.stack.imgur.com/gHiy6.png
    
asked by jairo geovanny roldan 11.08.2018 в 15:29
source

0 answers