google-play-games

Google play game service error code 400

本秂侑毒 提交于 2019-12-08 17:01:16
问题 There is an app that uses play games service, but by some reason it stops working. it looks some times i can login successfully but usually - no. if i checked API traffic there is about 10% got response code = 200, and others - 404. methods that get 404: games.applications.played games.events.record when i tried to check error in log i see: 11705-13707/com.google.android.gms W/GamesServiceBroker: Client connected with SDK 12171000, Services 11975436, and Games 54390036 11705-9262/com.google

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

丶灬走出姿态 提交于 2019-12-08 15:48:36
问题 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 Android Manifest either? But here is my build.gradle file. Please help! 回答1: Inside your manifest there must be inside which minsdkversion might have been written. Just remove <uses-sdk>....</uses-sdk> 回答2: currently, I'm using openCV, my solution is

Invite Friend in Google Play Services

℡╲_俬逩灬. 提交于 2019-12-08 13:26:49
问题 I'm creating a Game App in objective-c which is using Google Play Game services for realtime Multiplayer functionality. I follows the documentation at https://developers.google.com/games/services/ios/turnbasedMultiplayer. In my app there are two options Auto match and Invite Match. Auto Match functionality working fine. But Invite match not. I follow following Code for this - (int)minPlayersForPlayerPickerLauncher { return 1; } - (int)maxPlayersForPlayerPickerLauncher { return 2; } -

Get experience points and level from google plus profile or Get Data from google plus profile

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-08 13:16:53
问题 I am using google play game services in my game to get data and leaderboard scores from google leaderboard. I noticed this screen in the leaderboard profile. As you can see the name , and level and XP points. I was wondering is there a way to get these data so that I can show it in my custom leaderboard. I already got data like name and profile image. but I couldnt find a way to get this game data. Suggest me some ideas. 回答1: For getting player's experience points and level ,first you have to

Getting Google Play Games player ID on server

南笙酒味 提交于 2019-12-08 11:29:25
问题 The post Play Games Permissions are changing in 2016 explains how to get the Play Games player ID on a server. I can successfully get the access token on the server, but I can't get this step to work: Once you have the access token, call www.googleapis.com/games/v1/applications/yourAppId/verify/ using that access token. Pass the auth token in a header as follows: “Authorization: OAuth ” The response value will contain the player ID for the user. I'm trying to do that in Google App Engine

Google Play Game Services achievement loading

随声附和 提交于 2019-12-08 08:52:42
问题 So I'm writing a java game with Eclipse that uses Google Play Game Services to handle my achievements. I have done everything as in the sample games provided by Google, with the exception that I have added GameHelper directly to my existing activity instead of using BaseGameActivity. Now I have a problem. If a player uses one device to unlock an achievement that actually affects the game, how can I make the other device spot the unlocked achievement? With a bit of browsing I have found out

Android - Google Play Service, Game Client, Run time Error

浪尽此生 提交于 2019-12-08 07:35:24
问题 I have checked a few different questions already like this I am trying to implement a Google sign in and have been referring to https://developers.google.com/games/services/training/signin/ but cannot figure out how to resolve this error I currently have the following meta data in my Manifest file <meta-data android:name="com.google.android.gms.games.APP_ID" android:value="@string/app_id" /> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services

LibGDX: How to Implement Google Play Game Services? [closed]

折月煮酒 提交于 2019-12-08 07:29:03
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I checked [https://github.com/libgdx/libgdx/wiki/Google-Play-Games-Services-in-LibGDX][1] but that tutorial requiers me to import BaseGameUtils from here: [https://github.com/playgameservices/android-basic-samples][2] but it seems that the BaseGameUtils was removed. How can I go

Google play game service ,determining a host or server

天大地大妈咪最大 提交于 2019-12-08 05:34:24
问题 im trying to develop a multiplayer game using google play game service. In my game i have some game logic that will run only one players set ,which i prefr to call host. i would like to determine the host by player who created the room. but i see room creator id can be different in different players set on a single game,and each returns as creator in auto match game. so what should be the ideal way to find a host ,apart from sorting the player list and use the first participant as host ? 回答1:

Auth.GOOGLE_SIGN_IN_API cannot be used with Games.API

懵懂的女人 提交于 2019-12-08 03:53:03
问题 I'm trying to connect GoogleApiClient with Games.API and Auth.GOOGLE_SIGN_IN_API (for getting User Profile Information). Getting this Error: java.lang.IllegalStateException: Auth.GOOGLE_SIGN_IN_API cannot be used with Games.API Code: GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestProfile() .build(); googleApiClient = new GoogleApiClient.Builder(activity) .addConnectionCallbacks(connectionCallbacks) .addOnConnectionFailedListener