Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Analytics V4 Unity doesn't work on android and Error? #135

Open
buckbim opened this issue Aug 12, 2016 · 7 comments
Open

Google Analytics V4 Unity doesn't work on android and Error? #135

buckbim opened this issue Aug 12, 2016 · 7 comments

Comments

@buckbim
Copy link

buckbim commented Aug 12, 2016

I imported version V4 in Unity and then It doesn't work on android but Version V3 does work.Please explain for me and fix bug right now.

@hexgrimm
Copy link

I guess in v4 package they forgot about libGoogleAnalyticsServices.jar file, it should be in Assets\Plugins\Android\ folder

@saizenmedia
Copy link

@hexgrimm where can i get libGoogleAnalyticsServices.jar?

@hexgrimm
Copy link

@saizenmedia for example, in v3 package, or from repo source folder

@erebar
Copy link

erebar commented Aug 24, 2016

How can that even happen? 12 days ago and its still missing. V4 setup is still looking at the old google play services lib folder. Why? How?

@fcoulombe
Copy link

+1

@baldwin628
Copy link
Contributor

You shouldn't use libGoogleAnalyticsServices.jar. This is from V3, you should be using what is included in Google Play Services.

Somewhere around v30 they have changed where the libs are available in the Android SDK. The version I just pushed out should work with this new location. I've tried it with v32 of Google Play Services.

If you are using and older version of Google Play Services which still the libs in:
extras/google/google_play_services you should update GPS or use an older version of the plugin, but you need to run the setup script from the Google Analytics menu in Unity.

Can you all confirm what version of GPS you are using and if the updated v4 resolves your issue.

@erebar
Copy link

erebar commented Sep 12, 2016

I'm using version 32 of Google Play Services.

The previous v4 unity plugin didn't copy play-services-analytics-9.4.0 nor play-services-analytics-impl-9.4.0 to the Plugins/Android folder so I was getting errors. This new one seems to have updated the PlayServicesResolver folder.

Its working now. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants