buildscript {
repositories {
jcenter()
maven { url 'https://maven.google.com' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-alpha4'
}
}
https://stackoverflow.com/questions/44774034/the-android-gradle-plugin-version-3-0-0-alpha1-is-too-old