Google Analytics plugin not working on Android

Hi, I noticed that I don’t get analytics event when testing on the TV.

I looked into the adb output and this is what I got:

01-24 20:27:22.952 874 874 I GAv4 : Google Analytics 12.4.51 is starting up. To enable debug logging on a device run: 01-24 20:27:22.952 874 874 I GAv4 : adb shell setprop log.tag.GAv4 DEBUG 01-24 20:27:22.952 874 874 I GAv4 : adb logcat -s GAv4 01-24 20:27:22.971 874 958 W GAv4 : AnalyticsReceiver is not registered or is disabled. Register the receiver for reliable dispatching on non-Google Play devices. See http://goo.gl/8Rd3yj for instructions. 01-24 20:27:22.976 874 958 W GAv4 : CampaignTrackingReceiver is not registered, not exported or is disabled. Installation campaign tracking is not possible. See http://goo.gl/8Rd3yj for instructions. 01-24 20:27:22.979 874 958 W GAv4 : AnalyticsService not registered in the app manifest. Hits might not be delivered reliably. See http://goo.gl/8Rd3yj for instructions. 01-24 20:27:23.019 874 958 E GAv4 : Job execution failed: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;

I also checked on a Nexus 5 Android phone, but also don’t get logging there, however I can’t get the adb output for it.

However when testing on an iPhone 6 - all is fine.

They all use the same IP, so it’s not some ip filter in analytics.

And this is my code, it’s pretty basic:

-- build.settings settings = { orientation = { default = "landscapeRight", supported = { "landscapeLeft", "landscapeRight" }, }, plugins = { ["plugin.googleAnalytics"] = { publisherId = "com.coronalabs" }, }, iphone = { plist = { UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay UIApplicationExitsOnSuspend = true } }, android = { supportsTV = true, isGame = true, }, androidPermissions = { "android.permission.INTERNET", }, } -- main.lua local googleAnalytics = require( "plugin.googleAnalytics" ) googleAnalytics.init("mygame", "UA-...", true); googleAnalytics.logEvent(category, action, label, value);

Am I doing something wrong?

Thanks!