Google Analytics V3 for Android: Service unavailable (code=1), using local store

梦想与她 提交于 2019-12-09 14:45:39

问题


I've implemented GAv3 in my app for Android as it described in official tutorial. I'm getting the following warnings in logcat:

W/GAV3    ( 3031): Thread[GAThread,5,main]: Service unavailable (code=1), will retry.
I/GAV3    ( 3031): Thread[GAThread,5,main]: No campaign data found.
W/GAV3    ( 3031): Thread[Service Reconnect,5,main]: Service unavailable (code=1), using local store.

There is high-speed internet access, tracking id is set properly. And I see no statistics for my devices. Tested on Android 2.3 and 4.3.1.


回答1:


I get this error message as well in my app, but Google Analytics works fine, I can see all the expected statistics from my app.

I haven't been able to figure out what the message means, but at least that is not the reason why you don't get any data in Google Analytics.

One thing to keep in mind, is that you don't really see anything useful in Google Analytics untill the day after the events happen. This makes it quite difficult to debug errors.



来源:https://stackoverflow.com/questions/19707380/google-analytics-v3-for-android-service-unavailable-code-1-using-local-store

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