Google play game has stopped after update score to leaderboard
Asked Answered
D

0

3

When I update my score to the leaderboard, and then I open the leaderboard, Google play game has stopped. Can anyone help me with this?

I update the score with this code:

Games.Leaderboards.submitScore(myclient, 
                    getString(R.string.number_guesses_leaderboard),  
                    HighScore); 

I use this to open the leaderboard:

startActivityForResult(Games.Leaderboards.getLeaderboardIntent(
                myclient,getString(R.string.number_guesses_leaderboard)), 
                    0);

Click here to see the Logcat.

Definite answered 28/7, 2015 at 18:11 Comment(2)
Have you debugged your code? Where is that null value coming from? You didn't give us much to work withMacle
Did you find a solution to this? It seems that I ran into the same problem. My post is here: #37099993Kelci

© 2022 - 2024 — McMap. All rights reserved.