I updated today Android Studio to Giraffe. I found that the latest version for com.google.gms.google-services
is 5.0.0
When I try to sync the project, I get this error:
Plugin [id: ‘com.google.gms.google-services’, version: ‘5.0.0’, apply: false] was not found in any of the following sources
Here are all my plugins:
plugins {
id 'com.android.application' version '8.1.0' apply false
id 'com.android.library' version '8.1.0' apply false
id 'org.jetbrains.kotlin.android' version '1.9.0' apply false
id 'com.google.gms.google-services' version '5.0.0' apply false
}
If I downgrade to ‘4.3.15’ version, everything works fine.
How to overcome this error?
2
Answers
Try to add following dependency to the root
build.gradle
file:classpath 'com.google.gms:google-services:5.0.0'