问题
When I run my Android app with Crashlytics, it hangs at startup, and I get a TimeoutException
.
Then, when I try to crash my app, I get another TimeoutException, with the message CrashlyticsCore: Failed to execute task
.
The crash doesn't appears on my Firebase console.
I set up Crashlytics Firebase's tutorial, and I do not have a Fabric account.
I also followed this commit, making me add the gms.google-services plugin.
Thanks for your help.
回答1:
I had this problem today and in my case downgrading from
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.4'
to
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.3'
solved my problem.
回答2:
I had the same problem today. Downgrading didn't work for me.
Solved by deleting the google-services.json file and reconnecting my app to Firebase again (new google-services.json was generated)
来源:https://stackoverflow.com/questions/48039580/crashlytics-timed-out-during-initialization