[Android Studio]
Issue:
implementation 'com.google.firebase:firebase-core:16.0.0'
but while building the project, got the below error
Failed to resolve: com.google.firebase:firebase-core:16.0.0
Solution:
This is a maven issue. This issue is resolved after adding google() to repositories of allporjects in project level build.gradle file. Now the json looks like below.
allprojects {
repositories {
google()
jcenter()
}
}