简体   繁体   中英

Flurry analytics 5.6.0 not sending events to Flurry servers

I'm new to Flurry but I've implemented the SDK based on the official documentation, and it seems to be "working". Sessions are started correctly and events are tracked but never ever sent to server. What am I missing?

A similar issue has been posted here

My project configuration is as follows:

  • GooglePlayServices version: com.google.android.gms:play-services-gcm:7.5.0
  • Flurry Version: FlurryAnalytics-5.6.0.jar

Any help is greatly appreciated.

The problem is likely because you are selectively compiling the GooglePlayServices SDK. You are adding only Google Cloud Messaging (gcm) as a dependency. You need to also include the ads module to use Flurry.

That is, if you don't have com.google.android.gms:play-services:7.5.0 (the entire Google Play Services API) in your build.gradle, you should have at least com.google.android.gms:play-services-ads:7.5.0 or com.google.android.gms:play-services-analytics:7.5.0 (note the addition of ads and analytics at the end), in addition to your other dependencies.

After you do this (and you have Flurry DEBUG log enabled), you should see "Analytics report sent" after each new session begins .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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