I have a strange issue. After uploading Google Play Services library from version 10.2.6 to version 11.0.0, when i try to compile I get this error:
Er
You should delete the line apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.gms.google-services'
Because apply plugin: 'com.android.application' already has same package.
apply plugin: 'com.android.application'
That's where the conflict arises.
UPDATE:
Use Play services version 11.0.1
11.0.1