react-nativecrashlyticsreact-native-firebasecrashlytics-android

Duplicate resources com_crashlytics_export_strings.xml in Android during build process after adding Crashlytics


I have added latest version of react-native-firebase crashlytics 8.1.1 and I'm getting an error in Android during the build:

Duplicate resources in com_crashlytics_export_strings.xml

Any ideas how is possible to fix this issue? This file was automatically generated by Crashlytics.

enter image description here

P.S: if delete com_crashlytics_export_strings.xml it would be possible to make app build. However, I'm not sure how important that file is. Will Crashlytics work correctly if there wouldn't be this file in the project?


Solution

  • I deleted com_crashlytics_export_strings.xml and after that everything worked as expected!