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:
<Same thing here, you follow the google docs and it just doesn't work. 5 years ago Crashlytics used to be extremely solid. Sad to see this.
Cause the app may crash before Fabric can connect to its service. Solution: just remove your throw Exception code and perform a fresh install.
Maybe you've another library that cause this error. Try to remove it,
for example you can try
maven { url "https://jitpack.io" }
I fixed the TimeoutException
by adding the following to my build.gradle
ext.enableCrashlytics = true
Or if you have several extensions already:
ext {
...
enableCrashlytics = true
}
You can put it in your application's build.gradle
.
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'
I got this issue as well. I solved it simply by doing Android Studio -> File -> Invalidate Caches / Restart -> Invalidate and restart