Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
672 views
in Technique[技术] by (71.8m points)

android - Crashlytics don't report crashes in firebase

Application using Dexguard(8.4.9), Crashlytics(17.2.2), CrashlyticsGradle(2.3.0) Already insert a lot of rules in dexguard-rules and not solved that. All help will be welcome.

Logcat:

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)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

To solve the problem with Firebase Crashlytics you have to put in your minefest:

<service android:exported="false" android:name="com.google.android.datatransport.runtime.backends.TransportBackendDiscovery">
    <meta-data android:name="backend:com.google.android.datatransport.cct.CctBackendFactory" android:value="cct"/>
</service>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

62 comments

56.7k users

...