google-play-games

App not correctly configured to use Google Play services with a libgdx game

人盡茶涼 提交于 2020-01-16 18:49:12
问题 We develop a game using Libgdx which I'm trying to integrate with Google Play services. I'm interested in adding google multiplayer service. This is what I've done: MainActivity extends BaseGameActivity, and I've imported the BaseGameUtils project and the google-play-services_lib projects. I've added them both as Library projects of the game. I've created two client IDs in Google Developers console for both my product and my debug keys. I added my email as a tester in the Google Play

App not correctly configured to use Google Play services with a libgdx game

时光怂恿深爱的人放手 提交于 2020-01-16 18:49:09
问题 We develop a game using Libgdx which I'm trying to integrate with Google Play services. I'm interested in adding google multiplayer service. This is what I've done: MainActivity extends BaseGameActivity, and I've imported the BaseGameUtils project and the google-play-services_lib projects. I've added them both as Library projects of the game. I've created two client IDs in Google Developers console for both my product and my debug keys. I added my email as a tester in the Google Play

Can't retrieve leaderboard

不羁的心 提交于 2020-01-16 06:31:49
问题 I want to use leaderboards in my game. I set up game services project in developer's console, built api client and connected to it. But when I try to retrieve leaderboard with following code (I replaced actual id with my_leaderboard_id): startActivityForResult(Games.Leaderboards.getLeaderboardIntent(mGoogleApiClient, LEADERBOARD_ID), 100); I receive following error: 05-18 17:25:04.330: E/Volley(1443): [149] BasicNetwork.performRequest: Unexpected response code 400 for https://www.googleapis

“signInSilently(): failure” when trying to sign in to GooglePlay Game Services with LibGDX

旧街凉风 提交于 2020-01-14 10:33:17
问题 I have been trying to add Google Game Services to my LibGDX project for the past 3 days now at first I tried the LibGDX tutorials but all of them seem to be outdated. Then I was advised to use the Google Game Services official code LibGDX: How to Implement Google Play Game Services? I imported the sample project TypeANumber and tried to add the code to my project but when I try to sign in I'm getting the "signInSilently(): failure" error and it crashes when I try to open the leaderboards and

Google play services installed but folder google_play_services_lib not exists

元气小坏坏 提交于 2020-01-14 04:40:07
问题 I have stupid question, but I can't resolve my problem (( I'm user Android SDK manager revision 25.1.6 Google play services installed (folder Sdk\extras\google\google_play_services exists), but google_play_services_lib folder not exists in SDK folder I tried reinstall play services but with the same result In folder google_play_services only docs, samples and package.xml source.properties maybe somebody has solution for this problem? Thank you -- edit create simple project in android studio

How to open “All” by default instead of “Social” in Google Leaderboard?

老子叫甜甜 提交于 2020-01-13 12:06:53
问题 I have integrated Google Leaderboard in my android game app. When I open it, it goes to "Social" mode by default (aka my Google circle). I need to manually switch to "All" mode (players from all around the world). How can I make "All" mode default? 回答1: There is an overloaded method that takes all the parameters: getLeaderboardIntent (GoogleApiClient apiClient, String leaderboardId, int timeSpan, int collection) You can get the intent and display the all leaderboard by: Intent intent = Games

Google Play Services Leak

♀尐吖头ヾ 提交于 2020-01-10 22:02:09
问题 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 all DataBuffer extending objects when you are done with them. (internal object: com.google.android.gms.common.data.DataHolder@40555410) It occurs several times in a row. Im not exactly sure why it arises. It doesnt make my app crash nor makes the

Achievements locked again after a while Google play games

北城以北 提交于 2020-01-07 06:53:08
问题 I had implemented Google Play Games into my app (in beta test). I added some achievements (more than 5) and have done all the related settings like described in the API. I am testing this with the same google account as my developer account, this is added as a test account inside the console. To unlock an achievement I call Games.Achievement.unlock(mGoogleApiClient,achievement); It works and my achievements are unlocked. To call the users Play Games Achievements I use the intent like stated

Is Google Play Leaderboards suitable to rank users of my application according to their in-app purchases?

纵然是瞬间 提交于 2020-01-06 07:55:34
问题 Users can make in-app purchases in the application of my firm and fix the amount by themselves (I use Google in-app purchases API). They sign-up and sign-in thanks to Google Sign-in API, with and only with their Google Account (no Facebook, no Twitter, etc.). The client asked us to set up a leaderboard. Users who spent the most are first. Users who made cheap purchases are last. The application isn't a game. So it should not be bound to Google Play, in terms, for example, of Android

Is Google Play Leaderboards suitable to rank users of my application according to their in-app purchases?

心已入冬 提交于 2020-01-06 07:55:09
问题 Users can make in-app purchases in the application of my firm and fix the amount by themselves (I use Google in-app purchases API). They sign-up and sign-in thanks to Google Sign-in API, with and only with their Google Account (no Facebook, no Twitter, etc.). The client asked us to set up a leaderboard. Users who spent the most are first. Users who made cheap purchases are last. The application isn't a game. So it should not be bound to Google Play, in terms, for example, of Android