首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Android: Flurry未显示数据

Android: Flurry未显示数据
EN

Stack Overflow用户
提问于 2016-08-17 19:26:11
回答 1查看 612关注 0票数 0

全,

我正在使用我的一个android应用程序中的for进行分析。我在Flurry门户上创建了一个账号,并获得了API密钥。我遵循了“How to start with flurry”文档中提供的步骤。当我启动应用程序并检查日志时,它显示flurry正在捕获事件并发送数据。但是我在Flurry上看不到任何东西。以下是我的代码

应用程序

代码语言:javascript
复制
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");
    }
}

用于记录事件

代码语言:javascript
复制
FlurryAgent.logEvent(getString(R.string.filter_listing_event));
FragmentTransaction ft = getFragmentManager().beginTransaction();
Fragment prev = getFragmentManager().findFragmentByTag("dialog");

这是日志

代码语言:javascript
复制
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.

日志中的最后一行显示已发送分析。但我仍然看不到任何东西在flurry门户上。

EN

回答 1

Stack Overflow用户

发布于 2016-08-23 20:53:02

这也发生在我身上。我做了两件事:

  • 已将Flurry更新到版本6.4.2
  • 使用FlurryAgent.Builder初始化flurry

查看此处:https://developer.yahoo.com/flurry/docs/integrateflurry/android/

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38995337

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档