Firebase crashlytics not working in flutter android


I am new to firebase crashlytics, I have added crashlytics as referred from flutter fire and it is working fine for new project but I am getting error for my client app.

I am not sure where to look for since there is no error at all.
Also after adding firebase crashlytics I am not able to generate build release apk as well. But While generating release apk I am getting this error.

Please let me know if you have anything in your mind.
Only thing that I can doubt is that I have change package name but I updated both firebase and android package as well. SO I am confused now.

* What went wrong:
A problem was found with the configuration of task ':app:uploadCrashlyticsMappingFileRelease' (type 'UploadMappingFileTask').
> File 'C:\flutter\alink\build\app\generated\res\google-services\release\values\values.xml' specified for property 'googleServicesFile' does not exist.


Can you try to change your dependencies on android/build.gradle ?

dependencies {
        classpath ''
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath ''
        classpath ''
} this comment say work for me. And than I tried too. It’s work

Answered By – Hasan Karli

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published