How to fix Error:Could not find com.google.gms: google-services: 3.0.0.?
I had similar problem, I copied the dependency from the firebase instructions and pasted in code.
From instructions:
classpath 'com.google.gms: google-services: 3.0.0'
Supposed to be:
classpath 'com.google.gms:google-services:3.0.0'
Should not include any spaces. Silly but wasted half an hour.
Please add google-services.json
in your app folder.
Add the class path line in the top level gradle file. Not in the same file where you add individual dependencies.