We are talking about Google api versions without mentioning the Google Repository . The real problem is that your Google repository does not “know” about the version of firebase that you all tried to use.
, firebase
build.gradle :
apply plugin: 'com.android.application'
android {
}
dependencies {
compile 'com.google.firebase:firebase-core:10.2.1'
compile 'com.google.firebase:firebase-messaging:10.2.1'
}
apply plugin: 'com.google.gms.google-services'
Google Repository 44
SDK Manager > Android SDK > SDK ()
- 46 ( )
Google , !
, " Google" " SDK" "", Google .
Google, , firebase api version slighlty.
build.gradle :
apply plugin: 'com.android.application'
android {
}
dependencies {
compile 'com.google.firebase:firebase-core:10.2.0'
compile 'com.google.firebase:firebase-messaging:10.2.0'
}
apply plugin: 'com.google.gms.google-services'
firebase 10.2.0 10.2.1
, 10.2.0 Google 44.
, .