google-play-games

Google Play Game Services + BaseGameUtils added to a Gradle project = package does not exist

社会主义新天地 提交于 2019-12-20 01:41:56
问题 I already read many answers on this subject but can't fix my problem, and here it is : I have a gradle project that is a game, in that game I want to add google game services like I successfully did with 'type-a-number' (which is NOT a gradle project). But I get the following error: Gradle: error: package com.google.example.games.basegameutils does not exist Gradle: error: cannot find symbol class BaseGameActivity Gradle: error: cannot find symbol variable super NOTE : in my activity

Google Play Game Services + BaseGameUtils added to a Gradle project = package does not exist

时光毁灭记忆、已成空白 提交于 2019-12-20 01:41:01
问题 I already read many answers on this subject but can't fix my problem, and here it is : I have a gradle project that is a game, in that game I want to add google game services like I successfully did with 'type-a-number' (which is NOT a gradle project). But I get the following error: Gradle: error: package com.google.example.games.basegameutils does not exist Gradle: error: cannot find symbol class BaseGameActivity Gradle: error: cannot find symbol variable super NOTE : in my activity

Google Play Game Service failing to sign in

我的梦境 提交于 2019-12-19 12:51:06
问题 I have been banging my head against the wall over this for a number of days now. Despite reading many posts describing numerous problems/solutions to GPS sign-in failure I have been unable to find a solution to my problem. In short, I am developing a game in Android Studio using the LibGDX framework and have added BaseGameUtils as a library and added all the necessary dependencies etc. Problem Statement: When the game starts, it attempts to connect to GPGS but always responds with a 'Failed

Android crash on GooglePlayServices (Games) connect

岁酱吖の 提交于 2019-12-19 10:06:07
问题 I'm messing around with this problem about 10h and i cann't figure out what i've done wrong.... The Fatal Exception : E/AndroidRuntime: FATAL EXCEPTION: main Process: onl.deepspace.zoorallye, PID: 13256 java.lang.IllegalStateException: A fatal developer error has occurred. Check the logs for further information. at com.google.android.gms.common.internal.zzj$zza.zzc(Unknown Source) at com.google.android.gms.common.internal.zzj$zza.zzw(Unknown Source) at com.google.android.gms.common.internal

OnInvitationReceivedListener does not fire reliably (if at all) - Google Play Game Services Button Clicker

你离开我真会死。 提交于 2019-12-19 04:48:13
问题 In trying out the button clicker demo of the Play Game Services, I have not had any luck (ok, 1 time out of hundreds) of getting the OnInvitationReceivedListener to fire. I have looked here stackoverflow answer 1 and here stackoverflow answer 2, and have made sure to use test accounts that are part of my inner circles. (family good enough?) In testing: I have tried sending the invitation prior to logging in the other user (I Have never gotten the gameHelper onConnected(Bundle hintConnection)

Google Play Game Services - How to Not Leave Room onPause

天涯浪子 提交于 2019-12-19 04:12:42
问题 I'm not sure why "https://stackoverflow.com/questions/18142763/is-it-possible-to-show-full-screen-activity-without-leaving-room-using-google-re" was closed as "off topic" as I have the same question. If I switch to text messaging, someone calls, etc, then onPause() and potentially onStop() will be called. I presume those are what forces one to leave the room in a multiplayer game. I would rather the game not be ruined by these events though. Is it possible to somehow stay in the room while

No Pop Up is displayed when Calling Games.Achievements.unlock

岁酱吖の 提交于 2019-12-18 13:14:21
问题 My current Android game employs BaseGameActivity. My game employs Achievements, which are getting unlocked when required. However i do not ALWAYS see the PopUps related to the unlock event. I know the popup only appears when you first unlock the Achievement. Some popups appear fine, others (from differnt screens within my game) never appear. What do i have to do to Guarantee the popups appear? I have a feeling its related to this WARNING: W/PopupManager(10725): You have not specified a View

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

好久不见. 提交于 2019-12-18 12:54:05
问题 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 account, this can be very time consuming at the beginning of the game. So I dont' want this feature. Instead, I want to provide a sign in button. The player is connected only when he click that button. And from that point on, every time the player starts

How to show the google play game achievements?

拜拜、爱过 提交于 2019-12-18 09:27:15
问题 I have integrated the google play game services successfully and I am able to login successfully. After the login, I want to show the achievements to the user using a button. I have done the following implementation in my code: // Create the Google API Client with access to Plus and Games mGoogleApiClient = new GoogleApiClient.Builder(GameCentreActivity.this) .addConnectionCallbacks(this) .setGravityForPopups(Gravity.TOP | Gravity.CENTER_HORIZONTAL) .addOnConnectionFailedListener(this)

Conflict with activity tags on android manifest: Facebook and Google Play Games in Unity3d

不打扰是莪最后的温柔 提交于 2019-12-17 21:14:40
问题 Both Facebook and Google Play Games plugins require that I use android.intent.action.MAIN and android.intent.action.LAUNCHER in the Android Manifest. But one cancels the other. I'm new to mobile development. Is there any workaround? What can I be doing wrong? Manifest: <application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="false" android:name="com.soomla.store.SoomlaApp"> <intent-filter> <action android:name="android.intent.action.MAIN" />