-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Labels
Description
[REQUIRED] Step 2: Describe your environment
- Android Studio version: 4.0.1
- Firebase Component: Firebase Crashlytics & Firebase Crashlytics Gradle
- Component version: 17.2.1 & 2.2.0
[REQUIRED] Step 3: Describe the problem
App built with DexGuard doesn't report to Firebase Console, I cant even see the build version in the filter console.
Every time what the app is launched produce the same exception:
D/FirebaseCrashlytics: Checking for crash reports...
D/FirebaseCrashlytics: Found crash report /data/user/0/com.xxxxxxx/files/.com.google.firebase.crashlytics/nonfatal-sessions/5F64E11E01BD-0001-6C5D-32B9DF9F8C8E.cls
D/FirebaseCrashlytics: Reports are being sent.
D/FirebaseCrashlytics: Starting report processing in 1.0 second(s)...
D/FirebaseCrashlytics: No log data to include with this event.
D/FirebaseCrashlytics: Update app request ID: aca879994130dcc6ab3f551k2j4bjj23
D/FirebaseCrashlytics: No log data to include with this event.
D/FirebaseCrashlytics: Result was 204
D/FirebaseCrashlytics: Crashlytics report could not be enqueued to DataTransport
java.lang.IllegalArgumentException: Transport backend 'cct' is not registered
at com.google.android.datatransport.runtime.scheduling.DefaultScheduler$$Lambda$1.run(:1077)
at com.google.android.datatransport.runtime.SafeLoggingExecutor$SafeLoggingRunnable.run(:47)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Instead if the app is built in debug (without dexguard), it works.
Steps to reproduce:
Building the project with the next configuration:
build.gradle
apply plugin: 'com.android.application'
apply plugin: 'dexguard'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'realm-android'
apply plugin: 'com.google.android.gms.strict-version-matcher-plugin'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'com.google.firebase.firebase-perf'
...
release {
firebaseCrashlytics {
mappingFileUploadEnabled true
}
...
dependencies {
implementation 'com.google.firebase:firebase-core:17.2.0'
implementation 'com.google.firebase:firebase-analytics:17.2.2'
implementation 'com.google.firebase:firebase-crashlytics:17.1.1'
...
dexguard-rules.pro
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception