简体   繁体   English

Google Analytics V3 for Android:服务不可用(代码= 1),使用本地商店

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

I've implemented GAv3 in my app for Android as it described in official tutorial. 我在官方教程中描述的Android应用程序中实现了GAv3。 I'm getting the following warnings in logcat: 我在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. 有高速互联网接入,跟踪ID设置正确。 And I see no statistics for my devices. 我没有看到我的设备的统计数据。 Tested on Android 2.3 and 4.3.1. 在Android 2.3和4.3.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. 我无法弄清楚消息的含义,但至少这不是您在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. 要记住的一件事是,在事件发生后的第二天,您几乎没有在Google Analytics中看到任何有用的内容。 This makes it quite difficult to debug errors. 这使得调试错误变得非常困难。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM