Firebase Crashlytics 无法发送报告。设置仅在发布风格上不可用

the*_*bie 6 android firebase crashlytics

我设法让 firebase crashlytics 工作,问题是,它只能在调试中工作。我不知道发布版本有什么问题。我在发布版本的构建 gradle 中没有做任何特别的事情。这是错误

2020-01-16 11:28:06.478 26363-26411/? W/CrashlyticsCore: Cannot send reports. Settings are unavailable.
2020-01-16 11:28:06.478 26363-26363/? D/CrashlyticsCore: Crashlytics completed exception processing. Invoking default exception handler.
2020-01-16 11:28:06.496 3161-3175/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.sonyericsson.crashmonitor/.receiver.CrashMonitorServiceBroadcastReceiver
2020-01-16 11:28:06.599 19566-19566/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1531 android.content.ContextWrapper.startService:664 android.content.ContextWrapper.startService:664 com.sonyericsson.crashmonitor.receiver.CrashMonitorServiceBroadcastReceiver.onReceive:54 android.app.ActivityThread.handleReceiver:3386 
2020-01-16 11:28:06.626 3161-3175/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.sonyericsson.crashmonitor/.receiver.CrashMonitorServiceBroadcastReceiver
2020-01-16 11:28:06.743 3161-3175/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.sonyericsson.crashmonitor/.receiver.CrashMonitorServiceBroadcastReceiver
2020-01-16 11:28:11.674 26741-26741/? I/CrashlyticsCore: Initializing Crashlytics Core 2.7.0.33
2020-01-16 11:28:11.686 26741-26785/? D/CrashlyticsCore: Found previous crash marker.
2020-01-16 11:28:11.688 26741-26741/? D/CrashlyticsCore: Exception handling initialization successful
2020-01-16 11:28:11.688 26741-26741/? I/CrashlyticsInitProvider: CrashlyticsInitProvider initialization successful
2020-01-16 11:28:11.690 26741-26785/? D/CrashlyticsCore: Opening a new session with ID 5E1F91FB02B0-0001-6875-EBC78A642606
2020-01-16 11:28:12.299 26741-26785/? D/CrashlyticsCore: Initialization marker file created.
2020-01-16 11:28:12.301 26741-26777/? W/CrashlyticsCore: Received null settings, skipping report submission!
2020-01-16 11:28:12.302 26741-26785/? D/CrashlyticsCore: Initialization marker file removed: true
Run Code Online (Sandbox Code Playgroud)

我一直在网上搜索,我发现有些人有同样的问题。尝试了所有解决方案都不起作用。我什至有一个带有 google-service.json 的发布和调试文件夹仍然无法正常工作。有什么帮助吗?谢谢