I have implemented FCM and Firebase analytics with success in my project but I found an error trying with Firebase crash reporting and I don\'t have any idea what I\'m missing.<
I had similar problems and I tried dropping the gradle levels, which helped me because of some stability issues in the newest ones.
to:
compile 'com.google.firebase:firebase-core:9.2.1'
compile 'com.google.firebase:firebase-messaging:9.2.1'
compile 'com.google.firebase:firebase-crash:9.2.1'
compile 'com.google.android.gms:play-services-maps:9.2.1'
compile 'com.google.android.gms:play-services-location:9.2.1'
compile 'com.google.android.gms:play-services-awareness:9.2.1'
also you sdk to :
compileSdkVersion 23
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "cloud.savari.example.com.fcm"
minSdkVersion 17
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
I had the same issue, solved it by setting the API key Key restriction
in Google Console to NONE
.
I had the same issue, resolved it by download a new configuration file google-services.json
.