google-play-games

Google play Games cannot sign-in Error 403

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 06:37:10
问题 I have troubles trying to integrate Google Play Game Services to my game. I followed the tutorial and watched the video of "most 7 errors using google play games" and none of them was my case. I have defined my Google services on the Developer Console. After that i have vinculed 2 apps, with the same package name that i have on manifest. I Used the keytool to take the 2 certificates fingerprint. Then, I adde my app_id to the manifest (only the 13 dígits). And when I launch the application, it

Instance was not initialized, using default configuration

守給你的承諾、 提交于 2019-12-12 06:16:21
问题 1) Bundle identifier same as one at linked apps 2) Using a tester account 3) Window->G Play Games->Setup->Android Setup - done 4) SDK Manager's packages up to date, play-games-plugin-for-unity up to date 5) My setup code(taken from the Minimal sample and modified a litte bit): void Start() { PlayGamesPlatform.DebugLogEnabled = true; PlayGamesPlatform.Activate(); Social.localUser.Authenticate(success => { Debug.Log(success); }); var config = new PlayGamesClientConfiguration.Builder().Build();

Google Play Games - How to ask the user to create a gamerId account when signin in

走远了吗. 提交于 2019-12-12 04:28:20
问题 When a user signs in my web based game with Google SignIn through a web browser, access is granted. However, when the app makes a call to the Games Services API, it returns the following error: User registration incomplete If the user goes then to the Android Play Games app and creates a Gamer ID account, it works. So, is there any way to tell the user to create a Gamer ID account when she signs in if she wants to proceed? Or, better, can Google redirect her to a page for that, complete the

how to Move Object in Real-time Multiplayer? ( Google Play Games plugin for unity)

自古美人都是妖i 提交于 2019-12-11 20:44:04
问题 i'm creating a realtime multiplayer game in unity. i'm using this plugin : https://github.com/playgameservices/play-games-plugin-for-unity i need to move a ball in field(ground). i can send and receive message between two player. but i don't know which information should i send and when to send. for example i'm sending myObject.transform.position; can you give me some ideas about syncing the ball's move in field? 回答1: You can try sending the target position instead. Then when you receive this

Unity Admob and Google Play Game Services integration

别说谁变了你拦得住时间么 提交于 2019-12-11 20:26:27
问题 I tried to integrate admob and Google Play Game Services in my game, but I have got a problem. I cannot build the game. Error in console: Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details. D:\android-studio\sdk\build-tools\android-4.4W\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "D:/android-studio/sdk/platforms/android-20\android.jar" -F bin/resources.ap_ --extra-packages com.google.android

Retrieve leaderboard position in Google play game services

十年热恋 提交于 2019-12-11 18:53:16
问题 Is there any way to retrieve the position of the current user in a leaderboard? Thanks in advance. 回答1: I haven't tried it myself but how about this ? https://developer.android.com/reference/com/google/android/gms/games/leaderboard/LeaderboardScore.html#getRank() public abstract long getRank () Retrieves the rank returned from the server for this score. Note that this may not be exact and that multiple scores can have identical ranks. Lower ranks indicate a better score, with rank 1 being the

Could not find BaseGameUtils.apk

狂风中的少年 提交于 2019-12-11 18:41:15
问题 For the last 2 days I've been trying to simply get Google play game services Integrated into my game. I've followed the instructions here... https://github.com/playgameservices/android-basic-samples/blob/master/README.md ...many many times. I have been trying to get it to build with Gradle but for now, I'll just focus on Eclipse building until that works. I've imported BaseGameUtils project into my workspace as an Android library project. My game android project has two Android library

Change action bar style and color for Google Play Games Leaderboard, Achievements, etc.?

会有一股神秘感。 提交于 2019-12-11 16:14:20
问题 I'm using Google Play Games APIs for my app. When I use the following to launch the Achievements display for my app: startActivityForResult( getGamesClient().getAchievementsIntent(), 2); The activity that launches has a different action bar color than what I'm using in my main app. How can I customize this action bar color to match? 回答1: You can't customize that screen. It's important for that screen to look like Google Play Games and not a specific game because that gives the user a feeling

Sign-In with google for games services

孤街浪徒 提交于 2019-12-11 13:49:08
问题 I am implementing the new sign in with google flow according to this blog post: api-updates-for-sign-in-with-google However on sign in I get the following exception: IllegalStateException: Auth.GOOGLE_SIGN_IN_API cannot be used with Games.API I am constructing my GoogleApiClient like this: final GoogleSignInOptions googleSignInOptions = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .build(); mGoogleApiClient = new GoogleApiClient.Builder(this) .enableAutoManage(this,

Get player details from Google Play Games Service storage

血红的双手。 提交于 2019-12-11 11:52:38
问题 I have an android game configured with Google Play Games API. API works perfectly and user can sign in, use leaderboard, earn achievements, etc. Now i want to access Player details if possible like email, name, age who are already signed in the game. I am doing this right now from the app itself, what if i want to access this data remotely? Also is this possible to get all connected player details even without having their individually Player ID ? For example, Getting a list of all the users