Firebase Analytics虚线

时间:2016-10-13 06:01:20

标签: android firebase firebase-analytics firebase-console

已将Firebase Analytics集成到我的Android项目中,它上个月正在运行,现在它只显示虚线,用户数为0。

不确定为什么会发生这种情况,我错在哪里?由于它以前工作,我相信我根据开发指南设置了一切正确。

enter image description here

2 个答案:

答案 0 :(得分:4)

Those dotted lines are the graphs for the previous 30 days (it's useful when you're wondering how the current time period compares to that of the previous time period).

Basically, it looks like about 35 days ago, you started adding Firebase Analytics to you app. Everything seemed to be going well until about 5-10 days later, when your usage dropped off to nothing.

Unfortunately, I can't really tell from a graph why things stopped working. My guess might be you accidentally shipped an updated version of your app with Analytics turned off, or used an incorrect config file. I would double-check the latest version of your app and confirm that you're not seeing anything unusual in the logs that might indicate some sort of error.

答案 1 :(得分:1)

我现在就开始工作了。我仔细检查了gradle文件,下面的行被意外注释掉了,这就是我的情况下不跟踪的原因。

compile 'com.google.firebase:firebase-core:9.4.0'

我想知道如何在初始化分析时获得成功的消息,而且我没有收到任何构建问题。太奇怪了。

相关问题