google-play-games

Unable to build for android with facebook sdk and google play together in Unity 5.3.4

我与影子孤独终老i 提交于 2019-12-02 02:59:05
I am using facebook-unity-sdk-7.3.0 and GooglePlayGamesPlugin-0.9.32 in my project. it does not let me build for android and fails with error ' Unable to convert classes into dex format. See the Console for details. '. It starts working again when I delete any of the sdk fb or googleplay from my project. Console error CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details. /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/shoaib/Library/Android/sdk/tools" -Dfile.encoding=UTF8

Persist Google Play Services login between activities

安稳与你 提交于 2019-12-02 02:44:11
I thought this would be straightforward, but I've been going in circles trying to figure out how to keep a user logged in between Activities . I have a "Main" and a "Details" Activity . A user logs into Google Play Services in the "Main" Activity and I want to submit achievements and leaderboard data in the "Details" Activity . I'm inheriting from BaseGameActivity in both Activities and using: mGoogleApiClient = getApiClient(); in "Details", however when I call isConnected it always returns false . I even tried copying all the login/callback code from the "Main" Activity over, but it's still

Is it possible to access Google Play Game Services API with service account?

萝らか妹 提交于 2019-12-02 01:20:11
I've created the game thru Google Play Developer Console (it is ready for testing , but not published yet). Two service accounts are added there as testers - myappid@appspot.gserviceaccount.com (Google App Engine service account) and 64436212345-enq9gkd1abcdefghjec2kha39je5ojsc@developer.gserviceaccount.com (manually created service account, it was created before an access to Google Play Game Services API was given). First one is used for production GAE environment, second one is for development environment (run with --appidentity_email_address ). Both accounts work well with Google Analytics

android - import - with developers google com games

折月煮酒 提交于 2019-12-01 22:05:06
I'm follow the guide here https://developers.google.com/games . I did all the insturction in step 1 ("Step 1: Download the sample app") but the project isn't compile. after I imported the google-play-services-lib project and the BaseGameUtils project, their R.java file appear in gen directory. In the lines: import com.google.android.gms.games.Player; import com.google.example.games.basegameutils.BaseGameActivity; I get the errors : The import com.google.android.gms.games cannot be resolved The import com.google.example.games.basegameutils.BaseGameActivity cannot be resolved What could be the

Play games loadLeaderboardMetadata() returns outdated data

拈花ヽ惹草 提交于 2019-12-01 19:39:34
I'm working on an app with Play Game Services, and I'm making a custom UI to display the list of leaderboards with only the score and the ranking of the player as dynamic data. Then, when the user clicks on the score or ranking, he will be taken to the leaderboard default UI to display this particular leaderboard in details. In other words: I'm making a custom UI for leadeboards list, but I use default UI for displaying a specific leaderboard. I use loadLeaderboardMetadata() method to get the leaderboards data. The problem is it returns outdated data, even when I use loadLeaderboardMetadata

Deciding who is player one and two in a round based game with Google Play Game Services

删除回忆录丶 提交于 2019-12-01 15:07:38
问题 I have a round-based Multiplayer game for Android that has been working over XMPP before, and I want to switch to Google Play Game Services. In the old version, there was an XMPP bot, deciding which player will be player 1 or 2. This is important to know which player should make the first move. With Google Play Game Services, I found a solution that nearly works: @Override public void onRoomConnected(int statusCode, Room room) { ArrayList<Participant> participants = room.getParticipants();

Issues in integrating Google Play Game Services Leaderboard in AndEngine Game

。_饼干妹妹 提交于 2019-12-01 11:44:39
问题 I'm trying to store and display the user's game score in a leaderboard using Google Play Game Services . I'm following this --> https://developers.google.com/games/services/android/init . The issue arises when I import the BaseGameUtils library in my project , then all the andEngine classes display an error (for eg. Camera cannot be resolved and my imports also display an error) . Also , there are two BaseGameActivity.java classes (one in the andEngine jar and one in the BaseGameUtils library

Issues in integrating Google Play Game Services Leaderboard in AndEngine Game

≡放荡痞女 提交于 2019-12-01 11:40:33
I'm trying to store and display the user's game score in a leaderboard using Google Play Game Services . I'm following this --> https://developers.google.com/games/services/android/init . The issue arises when I import the BaseGameUtils library in my project , then all the andEngine classes display an error (for eg. Camera cannot be resolved and my imports also display an error) . Also , there are two BaseGameActivity.java classes (one in the andEngine jar and one in the BaseGameUtils library ) . How to resolve this issue , please help . I resolved it in following way: 1. Changed the name of

Android crash on GooglePlayServices (Games) connect

给你一囗甜甜゛ 提交于 2019-12-01 11:02:03
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.zzj$zzc.zzqN(Unknown Source) at com.google.android.gms.common.internal.zzj$zzb.handleMessage(Unknown

Google-Play-Services: Creating custom waiting room UI

a 夏天 提交于 2019-12-01 08:50:42
I am about to implement a real-time-multiplayer for my android application with the google play games services and got some problems to listen to room updates. Iam not that experienced, so please forgive the possible understanding problems. My intention is that I need to get informed, if anybody has joined my recently created room or created another room himself with the same variant as my room. I have tried to listen on the RoomStatusUpdateListener, but after I created a room, this listener never get called and I wonder why. What does get called, is the RoomUpdateListener, but it contains not