简体   繁体   English

Android:Flurry信息中心未显示数据

[英]Android: Flurry Dashboard is not showing Data

All, 所有,

I am using Flurry in one of my android app for analytics. 我在我的一个Android应用程序中使用Flurry进行分析。 I created a account on Flurry Portal and got API Key. 我在Flurry Portal上创建了一个帐户,并获得了API密钥。 I followed the steps provided on 'How to start with flurry' document. 我遵循了“如何开始忙乱”文档中提供的步骤。 When I started application and checked logs, it says flurry is capturing events and sending data. 当我启动应用程序并检查日志时,它表示乱舞正在捕获事件并发送数据。 But I can not see anything on Flurry Portal. 但是我在Flurry Portal上看不到任何东西。 Here is my code 这是我的代码

Application 应用

public class GlobalClass extends Application{

    private static Bus instance = null;

    @Override public void onCreate() {
        super.onCreate();
        instance = new Bus();


        FlurryAgent.setLogEnabled(true);
        FlurryAgent.setLogEvents(true);
        FlurryAgent.setLogLevel(Log.INFO);
        FlurryAgent.init(this,"XXXXXXXXXXX");
        Log.i("FLURRY AGENT", "Initialized Flurry Agent");
    }
}

For logging Events 用于记录事件

FlurryAgent.logEvent(getString(R.string.filter_listing_event));
FragmentTransaction ft = getFragmentManager().beginTransaction();
Fragment prev = getFragmentManager().findFragmentByTag("dialog");

Here are the logs 这是日志

08-17 15:28:24.651 17864-17864/? W/FlurryAgent: 'setLogEnabled' method is deprecated.
08-17 15:28:24.651 17864-17864/? W/FlurryAgent: 'setLogLevel' method is deprecated.
08-17 15:28:24.671 17864-17878/? E/FlurryAgent: GOOGLE PLAY SERVICES EXCEPTION: com.google.android.gms.common.GooglePlayServicesUtil
08-17 15:28:24.671 17864-17878/? E/FlurryAgent: There is a problem with the Google Play Services library, which is required for Android Advertising ID support. The Google Play Services library should be integrated in any app shipping in the Play Store that uses analytics or advertising.
08-17 15:28:24.681 17864-17864/? W/FlurryAgent: 'init' method is deprecated.
08-17 15:28:24.681 17864-17864/? I/FLURRY AGENT: Initialized FLurry Agent
08-17 15:28:24.681 17864-17878/? I/FlurryAgent: New main file also not found. returning..
08-17 15:28:24.871 17864-17878/? W/FlurryAgent: Flurry session started for context:com.test.activity.SplashActivity@6859dd
08-17 15:28:24.871 17864-17878/? W/FlurryAgent: Flurry session resumed for context:com.test.activity.SplashActivity@6859dd
08-17 15:28:24.871 17864-17878/? E/FlurryAgent: GOOGLE PLAY SERVICES EXCEPTION: com.google.android.gms.common.GooglePlayServicesUtil
08-17 15:28:24.871 17864-17878/? E/FlurryAgent: There is a problem with the Google Play Services library, which is required for Android Advertising ID support. The Google Play Services library should be integrated in any app shipping in the Play Store that uses analytics or advertising.
08-17 15:28:24.891 17864-17878/? W/System.err: remove failed: ENOENT (No such file or directory) : /data/user/0/com.test/files/.YFlurrySenderIndex.info.AnalyticsMain
08-17 15:28:26.281 17864-17889/com.test W/FlurryAgent: Analytics report sent.

Last line in logs shows analytics are sent. 日志的最后一行显示已发送分析。 But still I cant see anything on flurry portal. 但是,我仍然看不到狂奔的门户网站上的任何内容。

This was also happening to me. 这也发生在我身上。 I did two things: 我做了两件事:

  • Updated the Flurry SDK to version 6.4.2 将Flurry SDK更新到版本6.4.2
  • Used FlurryAgent.Builder to initialize flurry 使用FlurryAgent.Builder初始化FlurryAgent.Builder

See here: https://developer.yahoo.com/flurry/docs/integrateflurry/android/ 看到这里: https : //developer.yahoo.com/flurry/docs/integrateflurry/android/

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

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