I didn\'t find out what\'s causing the problem below. Could you help me, please?
Error:Failed to resolve: com.google.android.gms:play-services-measurement
I resolved this problem by uninstall Google Repository from SDK Manager then install it again. Hope this helps
Update your android sdk manager - Google repository version to 28 & Google play services to 30. It will work fine.
You have to update Application level build.gradle to classpath 'com.google.gms:google-services:3.0.0'
from 2.x.x. Hope this will help
If anyone has this problem and have updated SDK and still isnt working my fix was the google play services version in my build code read 'com.google.android.gms:play-services:9.8.00' and I changed it to 'com.google.android.gms:play-services:9.8.0'