简体   繁体   English

仪表板上不会报告Android Flurry事件

[英]Android Flurry events are not reported on the dashboard

I have integrated Flurry in a test project. 我已将Flurry集成到测试项目中。 I am trying to send events to Flurry but they are not reported at all on the Flurry dashboard. 我正在尝试将事件发送到Flurry,但它们在Flurry仪表板上根本没有报告。 I have followed carefully how to integrate it in my app: 我已仔细遵循如何将其集成到我的应用程序中:

@Override
protected void onStart()
{
    super.onStart();
    FlurryAgent.onStartSession(this, "XXXXXXXXXXXXX");
}

@Override
protected void onStop()
{
    super.onStop();     
    FlurryAgent.onEndSession(this);
}

public void sendEvent(View view){
    FlurryAgent.logEvent("Page_Viewed");
}

The log of the device is: 设备的日志是:

12-06 10:46:53.692: W/FlurryAgent(2058): Start session
12-06 10:46:54.232: W/FlurryAgent(2058): FlurryDataSender: report eb66f44c-1a59-4b5d-82df-04a9bf5a086a sent. HTTP response: 200 : OK
12-06 10:47:00.972: W/FlurryAgent(2058): Event count started: Article_Read

I stop the app and I restart it: 我停止了应用程序,然后重新启动它:

12-06 10:47:18.302: W/FlurryAgent(2058): Trying to end session
12-06 10:47:28.313: W/FlurryAgent(2058): Ending session
12-06 10:47:33.193: W/FlurryAgent(2058): Start session
12-06 10:47:33.522: W/FlurryAgent(2058): FlurryDataSender: report 017075e6-91a6-44b6-a4a7-70cffec21f00 sent. HTTP response: 200 : OK

I have waited more than 48 hours and I still do not see anything on the dashboard. 我等了48个多小时,仪表板上仍然没有看到任何东西。 I am using the Flurry SDK version 3.3.1. 我使用的是Flurry SDK版本3.3.1。

Based on your code it looks like you are doing everything correctly. 根据您的代码,您似乎正在正确地执行所有操作。 The only problem might be that you are not calling the sendEvent() method which calls logEvent()... Or there might be something on the network that is blocking the communication with Flurry servers. 唯一的问题可能是你没有调用调用logEvent()的sendEvent()方法......或者网络上可能存在阻止与Flurry服务器通信的东西。

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

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