Questions tagged [google-play-games]

The Google Play Games services SDK provides cross-platform game services that lets you easily integrate popular gaming features such as achievements, leaderboards, and Cloud Save in your web-based games.

The Google Play Games services SDK provides cross-platform game services that lets you easily integrate popular gaming features such as achievements, leaderboards, and Cloud Save in your web-based games.

The project home https://developers.google.com/games/services/

1692 questions
60
votes
18 answers

Google Play Game Services - unable to sign in

Right after yesterday's Google I/O keynote I've updated my Android SDK to integrate the game services into one of my apps. Things I've done so far: added and linked my app in the Dev Console (game services) included the OAuth client id into my…
ottel142
  • 2,016
  • 1
  • 26
  • 37
42
votes
1 answer

Android Real Time Multiplayer - Room Creation is failing

I am using Android Play Games - Real Time Multiplayer for my app. When I create a new room, the callback onRoomCreated() returns STATUS_NETWORK_ERROR_NO_DATA 5% of the times. I do not know why I get this error sporadic. Some post recommends should…
skymedium
  • 767
  • 7
  • 26
28
votes
5 answers

How can I make the Play Game Services not automatically sign in at the startup?

Google provides the BaseGameUtils library, and recommend us to extends its BaseGameActivity. However, this class makes the game automatically sign in whenever the game is started. If the player does not want to or cannot connect to his Google…
Hải Phong
  • 5,094
  • 6
  • 31
  • 49
26
votes
1 answer

How to allow user to use loadConnectedPlayers

I want to get all connected players to game. I can get players that are in google+ circles but I want the player to get all users. I can't find what permission do I need to do this. I am using this code to get players, but it always returns…
Dzzeeee
  • 261
  • 2
  • 4
24
votes
2 answers

Turnbased matches disappear after loading for the first time

I'm developing a game for Android using the Google Play Services for creating a turnbased match. At first everything was fine I load the turnbased matches for the signed in user using Games.TurnBasedMultiplayer.loadMatchesByStatus(getApiClient(), …
matsjoe
  • 1,480
  • 12
  • 17
20
votes
3 answers

The minSdk version should not be declared in the android manifest file

Gradle Sync Errors are coming up on my build.gradle file for a module I imported called BaseGameUtils saying The minSdk version should not be declared in the android manifest file. I don't call this at all from what I can see, and I don't in the…
Chris
  • 339
  • 1
  • 2
  • 8
19
votes
0 answers

QuickMatch onJoinedRoom gets error 2

I'm trying to connect via a quick match. I have everything enabled. APIs are enabled, the debug key and production key are added in the Oauth2 list in Google API Console. Real-Multiplayer is enabled and game-service is published. I'm trying some…
Jaeger
  • 1,646
  • 8
  • 27
  • 59
19
votes
7 answers

How can I reset achievements from Google Game Services?

I'm testing my game using Google's new Games Services, and I'd like to reset my account's achievements for testing. I've found that you can reset achievements using google's APIs…
18
votes
2 answers

Why is GetServerAuthCodeResult Deprecated? How can I do something equivalent in an Installed Application?

Following this post: http://android-developers.blogspot.com/2016/01/play-games-permissions-are-changing-in.html I have obtained a single use authorization code for use on my backend server as follows: import com.google.android.gms.games.Games; …
M1LKYW4Y
  • 598
  • 1
  • 4
  • 19
18
votes
6 answers

App not correctly configured to use google play game services

I'm using the BaseGameActivity class to connect to google play games services. The problem is that somehow authentication doesn't work. I'm searching the web for a solutions for hours but didn't find anything what helps me solving the problem. When…
17
votes
2 answers

Google Play Services Leak

I started using Google Play Game Services a while ago, and yesterday while checking the logcat I couldnt help to notice this error: E/DataBuffer(3183): Internal data leak within a DataBuffer object detected! Be sure to explicitly call close() on…
cavpollo
  • 4,071
  • 2
  • 40
  • 64
16
votes
3 answers

Unity Google Play Services Plugin API is not sync with Show Leaderboard UI function?

I use Google Play Games Services Unity Plugin to build an Android game as described in: https://github.com/playgameservices/play-games-plugin-for-unity The problem: When I load scores using the API (Social API or PlayGamesPlatform.Instance object of…
16
votes
3 answers

Google Play Services - Sign in - Client ID debug vs release

After properly implementing Google Play Services in my first game now it is time for the second. I'm stuck on message "There is no linked app associated with this client ID” ..... I have properly configured things for debug and release. When i run…
Paweł
  • 2,144
  • 1
  • 18
  • 25
15
votes
2 answers

How to avoid TagManager "IllegalStateException: Results have already been set"

I have recently introduced Google TagManager into my Android app in order to push changes to app config without needing to redeploy the app. But I am getting instances of: java.lang.IllegalStateException: Results have already been set at…
15
votes
2 answers

Android TV emulator with Google APIs

I have an android game in Google Play. Now I'm trying to make it compatible with Android TV. I don't have any of the Android TV hardware. So I'm testing in emulator. I was able to start Android Emulator for Android TV with Android 5.0. My game is…
1
2 3
99 100