Hello! To use Google Play Games leaderboards in my android game I need firstly to authenticate user. I imported [play-games-plugin-for-unity-master][1] to my unity project and did Android Setup. Then I authenticate user by calling on game start:
**PlayGamesPlatform.Activate();
Social.localUser.Authenticate(success => { if (success) { print("Auth success"); } else { print("Auth failed"); }; });**
And it didn't work, here's a Log Cat of my Android device:
![alt text][2]
Then I found out that in my project > plugins > android should be .aar file google-play-services lib. I didn't find it in the **Sdk\extras\google\google_play_services**. Only what I have there: reference, assets , samples. **So, where I can get this lib?** I read that *Assets > Play Services Resolver > Android Resolver > Force Resolve* can help but it ended up with two issues in console: 1.Gradle failed to fetch dependencies, 2. Resolution failed (Failed to fetch the following dependencies:
com.google.games:gpgs-plugin-support:0.9.50). Please, help. This issue is really annoying because it stops my project development.
[1]: https://github.com/playgameservices/play-games-plugin-for-unity
[2]: https://image.ibb.co/b8e0y8/Print_Screen.png
↧