Why am I not seeing Firebase Analytics logging in logcat?

不打扰是莪最后的温柔 提交于 2019-12-13 05:56:21

问题


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

source

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

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.


回答1:


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.

It seems like adb shell setprop isn't working on N preview 3



来源:https://stackoverflow.com/questions/37449449/why-am-i-not-seeing-firebase-analytics-logging-in-logcat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!