firebase-crash-reporting

How to disable default Firebase crash reporting?

谁都会走 提交于 2019-12-01 07:36:42
问题 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. 回答1: You need to remove compile com

How does Firebase crash reporting initialize

老子叫甜甜 提交于 2019-12-01 04:08:41
I'm extremely curious how there is 0 code written within the application and all that is required is to use the library compile 'com.google.firebase:firebase-crash:9.0.1' in order to get firebase crash reporting working. Is the initialization always a one time thing like how the application class' onCreate is always called just once? What do I do if i want to enable crash reporting only after a certain event? Update: There is now a comprehensive blog post about how Firebase components initialize . Firebase Crash Reporting (in addition to other Firebase components) initialize in a

Uploading ProGuard Mapping Files to Firebase

随声附和 提交于 2019-12-01 02:53:40
Am trying out the recently released feature that allows uploading of ProGuard mapping file to Firebase ( https://firebase.google.com/docs/crash/android ) using gradle task. The following is the task I'm running. ./gradlew -PFirebaseServiceAccountFilePath=xxxxx.json :app:firebaseUploadReleaseProguardMapping However, it doesn't seem to be recognizing service account file. Has anyone had any luck getting this working? I've also tried defining FirebaseServiceAccountFilePath in gradle.properties. * What went wrong: Execution failed for task ':app:firebaseUploadReleaseProguardMapping'. > Service

How does Firebase crash reporting initialize

ぐ巨炮叔叔 提交于 2019-12-01 01:20:22
问题 I'm extremely curious how there is 0 code written within the application and all that is required is to use the library compile 'com.google.firebase:firebase-crash:9.0.1' in order to get firebase crash reporting working. Is the initialization always a one time thing like how the application class' onCreate is always called just once? What do I do if i want to enable crash reporting only after a certain event? 回答1: Update: There is now a comprehensive blog post about how Firebase components

Uploading ProGuard Mapping Files to Firebase

a 夏天 提交于 2019-11-30 22:51:03
问题 Am trying out the recently released feature that allows uploading of ProGuard mapping file to Firebase (https://firebase.google.com/docs/crash/android) using gradle task. The following is the task I'm running. ./gradlew -PFirebaseServiceAccountFilePath=xxxxx.json :app:firebaseUploadReleaseProguardMapping However, it doesn't seem to be recognizing service account file. Has anyone had any luck getting this working? I've also tried defining FirebaseServiceAccountFilePath in gradle.properties. *

Failed to resolve: com.google.firebase:firebase-auth:9.0.0 [duplicate]

旧街凉风 提交于 2019-11-30 21:05:59
This question already has an answer here: Failed to resolve: com.google.firebase:firebase-analytics:9.0.0 [duplicate] 2 answers As per Firebase codelab Android tutorial,while adding com.google.firebase:firebase-auth:9.0.0 in build.gradle dependencies, getting below error: Error:(28, 13) Failed to resolve: com.google.firebase:firebase-auth:9.0.0 See below screenshot: pRaNaY The 9.0.0 version of Firebase was built using Google Play services 9.0 While adding compile 'com.google.android.gms:play-services:9.0.0' into my build.gradle, gradle sync successfully. I found my answer here . 来源: https:/

All firebase libraries must be either above or below 14.0.0

六眼飞鱼酱① 提交于 2019-11-30 16:52:51
I have checked my app build.gradle file and these are the only lines that are related to firebase in them /*** * Firebase */ implementation 'com.google.firebase:firebase-core:15.0.0' implementation 'com.google.firebase:firebase-messaging:15.0.0' implementation('com.crashlytics.sdk.android:crashlytics:2.9.1@aar') { transitive = true } implementation 'com.google.firebase:firebase-ads:15.0.0' I do not have any library that makes use of firebase so I don't think there can be an issue with a library using an older version. The problem is I can't build gradle, clean project or rebuild project with

Firebase Crash Library - NullPointerException in the console

折月煮酒 提交于 2019-11-30 06:41:19
I've implemented the new Firebase Crash library ( https://github.com/firebase/quickstart-android/tree/master/crash ) to log error in Android app. Anyone is having similar problem. I'm checking errors and on the top I've got: Exception java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference android.util.Base64.decode (Base64.java:118) com.google.firebase.iid.zzg.zzeH (zzg.java:) com.google.firebase.iid.zzg.zzeE (zzg.java:) com.google.firebase.iid.zzd.zzCd (zzd.java:) com.google.firebase.iid.zzd.zzc (zzd.java:) com.google

How to enable Firebase Crash Reporting - Android

别说谁变了你拦得住时间么 提交于 2019-11-29 09:18:11
I followed all the steps on the docs to use Firebase Crash Reporting in my Android app (I use Android Studio and everything is up-to-date). I used their own code to throw an exception to see if it works: try { throw new NullPointerException(); } catch (NullPointerException ex) { FirebaseCrash.logcat(Log.ERROR, TAG, "NPE caught"); FirebaseCrash.report(ex); } And the console gives me this log: E/MainActivity: NPE caught V/FirebaseCrash: Firebase Crash Reporting is disabled. Here is one build.gradle // Top-level build file where you can add configuration options common to all sub-projects/modules

Firebase Crash Library - NullPointerException in the console

自古美人都是妖i 提交于 2019-11-29 06:18:37
问题 I've implemented the new Firebase Crash library (https://github.com/firebase/quickstart-android/tree/master/crash) to log error in Android app. Anyone is having similar problem. I'm checking errors and on the top I've got: Exception java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference android.util.Base64.decode (Base64.java:118) com.google.firebase.iid.zzg.zzeH (zzg.java:) com.google.firebase.iid.zzg.zzeE (zzg.java:)