I’m using FlurryAnalytics-5.5.0.jar. When I initialize Flurry, I receive some errors:
FlurryAgent.setLogEnabled(true);
FlurryAgent.setLogEvents(true);
FlurryAgent.setLogLevel(android.util.Log.ERROR);
FlurryAgent.init(this, FLURRY_ID);
Errors:
Could not find class 'com.flurry.sdk.br', referenced from method com.flurry.sdk.bq.a
and
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.
Can you please advise?
This problem arises because Google Play Services are not property configured. Check that any play-services core dependency is not missing in your project configuration.
In my case, I solved it by adding the following dependency to build.gradle config file (app level):
compile 'com.google.android.gms:play-services-base:8.4.0'
The exact logcat error lines are the following
E/FlurryAgent: GOOGLE PLAY SERVICES EXCEPTION: com.google.android.gms.common.GooglePlayServicesUtil
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.
and the GooglePlaySercicesUtil class is found in the play-services-base library.
Hope this helps.
See links this and this for more information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With