为什么在logcat中看不到Firebase Analytics登录? [英] Why am I not seeing Firebase Analytics logging in logcat?
问题描述
我已经根据文档完成了此操作:
I have done this according to the docs:
adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC
但这就是我看到的全部输出:
But this is all the output I see:
05-25 16:45:32.992 I/FA ( 7019): App measurement is starting up, version: 9080
05-25 16:45:32.992 I/FA ( 7019): To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
我肯定正在记录事件,正如我在调试器中确认的那样,我正在调用logEvent()
API(和(稍后会在Web仪表板中看到它们)).
I am certainly logging events as I have confirmed in the debugger that I'm calling the logEvent()
API (and I do see them (much later) in the web dashboard).
如果我在事件名称后添加一堆垃圾,则会看到以下输出:
and if I append a bunch of garbage to my event names I see this sort of output:
05-25 16:53:34.703 E/FA (14150): Name must consist of letters, digits or _ (underscores). Type, name: event, clickedwhat the heck! no!!!
因此,我知道我的事件名称至少已得到验证..但是我从来没有看到任何令人不安的事件被记录为已发送或任何其他类型的错误.
So I know my event names are at least being validated.. but I never see any of the unmolested events getting logged as being sent or any other sort of errors.
推荐答案
这似乎是我所有N个预览设备上的问题.将其安装在N之前的设备上后,一切都会按预期进行.
This seems to be a problem on all my N preview devices. Once I installed it on a pre-N device everything worked as expected.
adb shell setprop
似乎不适用于N预览3
It seems like adb shell setprop
isn't working on N preview 3
这篇关于为什么在logcat中看不到Firebase Analytics登录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!