Both Firebase & Play-service dependencies are having independent versions unlike past. If you have version conflicts then you can update your
com.google.gms:google-services
. and start defining independent version.
com.google.gms:google-services
Open project level
build.gradle
and updatecom.google.gms:google-services
to version4.1.0
MUST CHECK newer if available.
buildscript {
...
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0'
classpath 'com.google.gms:google-services:4.1.0' //< update this
}
}
Firebase dependency versions can be individual.
com.google.firebase:firebase-core:16.0.3 //Analytics, check latest too
com.google.firebase:firebase-database:16.0.2 //Realtime Database, check latest too
Play services versions also can have individual versions.
com.google.android.gms:play-services-ads:17.1.2 //Ads, check latest too
com.google.android.gms:play-services-analytics:16.0.6 //Analytics, check latest too
Still having issue? You can check which dependency is making conflict by reading this answer.