You need to put the apply plugin: 'com.google.gms.google-services'
line below your dependencies
block – this allows the plugin to determine what version of Play services you are using.
You need to put the apply plugin: 'com.google.gms.google-services'
line below your dependencies
block – this allows the plugin to determine what version of Play services you are using.