androidcrashlytics-androidfabric.io

After migration from Fabric to FirebaseCrashlytics tests failing


Recently we attempted to migrate from Fabric.io to FirebaseCrashlytics. Followed steps as described in documentation https://firebase.google.com/docs/crashlytics/upgrade-sdk?platform=android

  1. Updated google-service.json files
  2. Replaced fabric.io dependencies with Firebase Crashlytics
  3. Updated code and enabled collection only when prod builds with setCrashlyticsCollectionEnabled(!BuildConfig.DEBUG)
  4. Updated proguard rules

After that, we try to run our test suite when we noticed that it is taking much longer than usual and in the end it failed with many tests reporting OutOfMemoryError. This set of tests run just fine with Fabric dependencies. Does anybody had or run into a similar problem?


Solution

  • OK, I do have update on this. We just updated libraries to latest version that was recently published and issue looks to be sorted

    which original article was published with