如何禁用默认的Firebase崩溃报告? [英] How to disable default Firebase crash reporting?

查看:196
本文介绍了如何禁用默认的Firebase崩溃报告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在build.gradle中使用 apply plugin:'com.google.gms.google-services',则默认配置包括Firebase Analytics和Crash Reporting,可以禁用我需要停用Firebase崩溃报告功能,因为它会造成Google Play服务9.6.80(当前正在推出)的问题。,Firebase图书馆列在这里



当您包含 play-services:9.xx ,您可以获得所有的Google Play和Firebase库,包括Firebase崩溃报告。


If I use apply plugin: 'com.google.gms.google-services' in my build.gradle, Google says, The default configuration includes Firebase Analytics and Crash Reporting, which can be disabled manually in the SDK.

I need to disable firebase crash reporting as it is creating issues with Google Play Services 9.6.80 (currently in rollout)please check this. How to disable firebase crash reporting from my app?

Please check the attached screen shot for your reference.

解决方案

You need to remove compile com.google.android.gms:play-services:9.0.0 from your build dependencies and replace it with with the individual libraries that you need. A list of the Google Play libraries is provided here, the Firebase libraries are listed here.

When you include play-services:9.x.x, you get all the Google Play and Firebase libraries, including Firebase Crash Reporting.

这篇关于如何禁用默认的Firebase崩溃报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆