Crashlytics Fabric : Failed to execute task

前端 未结 12 1647
暖寄归人
暖寄归人 2020-12-20 11:04

I\'ve been having an issue and I don\'t know how to fix it.

My project use crashlytics, but it\'s always crash and not sent report. I have a TimeoutException:

<
12条回答
  •  生来不讨喜
    2020-12-20 11:27

    Okay. Right after apply plugin section of your build.gradle put the ext solution

    apply plugin: 'io.fabric'
    apply plugin: 'com.google.gms.google-services'
    
    ext {
        enableCrashlytics = true
    }
    
    android { }
    

    !Then do Invalidate cache and restart. Also make sure you have implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'

提交回复
热议问题