How to disable Crashlytics during development

I found the solution from Crashlytics (with Fabric integration) Put following code inside your Application class onCreate() Crashlytics crashlytics = new Crashlytics.Builder().disabled(BuildConfig.DEBUG).build(); Fabric.with(this, crashlytics); EDIT: In Crashalitics 2.3 and above, this is deprecated. The correct code is: CrashlyticsCore core = new CrashlyticsCore.Builder().disabled(BuildConfig.DEBUG).build(); Fabric.with(this, new Crashlytics.Builder().core(core).build()); or Fabric.with(this, new Crashlytics.Builder().core(new CrashlyticsCore.Builder().disabled(BuildConfig.DEBUG).build()).build()); (copied from Crashlytics deprecated method … Read more