Could not find any version that matches com.google.android.gms:play-services-base:[15.0.1,16.0.0)

Make sure you have google() repository in project-level build.gradle before any others:

allprojects {
    repositories {
        google()
        mavenLocal()
        jcenter()
    }
}

Add this line in build.gradle

apply plugin: 'com.google.gms.google-services'
// Work around for onesignal-gradle-plugin compatibility
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true

or

googleServices.disableVersionCheck = true

I encountered the same issue after updating. Try to verify if you installed the latest Build Tool and Google Repository versions.

enter image description here

Also, verify the Project's build.gradle that you're using google() and the build tool version. After checking the build.gradle, try to re-sync, clean, and re-build your project.

If needed, try to update to the latest version of your project's dependencies.

buildscript {

    repositories {
        jcenter()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.3'
    }
    // ...
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

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