Identifying the issue:
There is a conflict in libraries version, you are using 'com.google.android.gms:play-services-auth:11.6.0' and that's the last version now which required a compatible compileSdkVersion and targetSdkVersion
Why it's happened?:
Compiling lib contain a higher api level than your app api level make that.
Solution:
Upload your compileSdkVersion also targetSdkVersion to last version (Now it's 27) , and your com.android.support too, to be compatible with whole app and libs.
Also you have to add google() to your repositories as well:
repositories {
jcenter()
google()
}
.........
allprojects {
repositories {
jcenter()
google()
}
}
Note: Updating targetSdkVersion not required for this issue, but it's better to product app targeting a wide range of devices.