Firebase 分析页面为空白,但崩溃报告有效

Firebase analytics page is blank but Crash reports are working

我在将我的项目与 Google Firebase 分析集成时遇到了一些问题。我已按照所有说明进行操作,集成似乎已完成,因为我确实正确获得了崩溃报告,但分析页面是空的。

我的build.gradle内容:

compile 'com.google.firebase:firebase-core:10.2.0'
compile 'com.google.firebase:firebase-crash:10.2.0'

compile 'com.google.android.gms:play-services:10.2.0'
compile 'com.google.android.gms:play-services-wearable:10.2.0'

日志似乎表明它正在发送报告。

I/FirebaseInitProvider: FirebaseApp initialization successful
I/FA: App measurement is starting up, version: 10298
I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
I/FA: To enable faster debug mode event logging run:
                                                            adb shell setprop debug.firebase.analytics.app 
D/FA: Debug-level message logging enabled
D/FA: Connected to remote service
D/FA: Logging event (FE): select_content, Bundle[{item_name=Demo mode entered, _o=app, _sc=SeatsActivity, _si=-6324821531545085450, content_type=image, item_id=Demo}]
D/FA: Connected to remote service
D/FA: Logging event (FE): select_content, Bundle[{item_name=Demo mode exited, _o=app, _sc=SeatsActivity, _si=-6324821531545085450, content_type=image, item_id=Demo}]
D/FA: Logging event (FE): _e, Bundle[{_o=auto, _et=14578, _sc=SeatsActivity, _si=-6324821531545085450}]
D/FA: Logging event (FE): select_content, Bundle[{item_name=User Authenticated, _o=app, content_type=image, item_id=Authentication}]
D/FA: Connected to remote service
D/FA: Logging event (FE): _e, Bundle[{_o=auto, _et=11345, _sc=AuthenticationActivity, _si=-6324821531545085449}]
D/FA: Connected to remote service

图像似乎暗示有一些分析,但当我转到“分析”选项卡时,它是空白的。发送报告后我已经等了几天,但页面仍然是空白的。我错过了什么吗?

我一直在使用我的 Office Gmail ID(企业帐户),它似乎不支持 Firebase,或者此功能可能已被管理员阻止。我已经删除了这个项目并在我的个人 GMail ID 下创建了项目,一切正常。

最好显示一条 warning/information 消息,说明为什么 Analytics 无法与企业帐户一起使用,因为这浪费了几天的努力。还要确保您只登录一个 Google 帐户来查看 Firebase。

我发现对于 G Suite / Google 应用程序/企业帐户 Google 默认情况下禁用分析。

如果您可以联系到您的管理员(或您),他们可以按照此处的说明启用它: https://support.google.com/a/answer/6304816

我自己做了这个,尽管警告可能需要 24 小时,但 Firebase Analytics 页面立即开始为我工作。