-
Notifications
You must be signed in to change notification settings - Fork 139
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 Play Games Compatibility #109
Comments
Problem resolved. I didn't expect to find it this quickly. Apologies for somewhat hastely posting about this issue! The only thing you need to do to get Google Analytics to work with Google PlayGames is:
svcSupport.DependOn("com.google.android.gms", That should remove the compatibility issue, and allow you to run the code. |
Thanks it save my time |
DuskLightStudios your way doesnt solve my problem. I have last version of google analytics (V4) and also last version of google play game service ( 9.34). In editor no problem but in android i took this exception from logging with adb:
if you have an idea i will be really grateful |
just edit AndroidManifest file and set min sdk and target sdk |
I ran into an issue regarding the compatibility between Google Analytics and Google Play Games services. After a lot of experimenting and research, I've figured out that the issue is about the Google Play Services library.
Google Play Games removes this library and replaces it with .aar files. Theoretically a good idea, since it clears up a lot of app size. But it breaks Google Analytics, which needs that library to function.
I've tried including the analytics aar file into the dependencies, as described here:
#51
But that didn't work. The result is that Google Play Games works, but the app crashes after a few seconds due to Google Analytics. My Google Analytics works great if Google Play Games is not included in the game.
A lot of people seem to have this issue, but there seems to be no clear solution for it anywhere. What can I do to fix this?
The text was updated successfully, but these errors were encountered: