Leaderboard - There are no public ratings for this game

I have installed google play services for my app and added a leaderboard. I added the game id and leader id in the code. And now both the app and the game are published.

Code used to launch the leaderboard

 if(mclient.isConnected())
                   {
                   startActivityForResult(Games.Leaderboards.getLeaderboardIntent(
                            getApiClient(), getString(R.string.leaderboard_quiz_app)),
                            1);
                   }

      

This is how the estimates are updated.

if(mclient.isConnected())
       {
    Games.Leaderboards.submitScore(getApiClient(),
            getString(R.string.leaderboard_quiz_app),
            Long.valueOf(score));
       }

      

Even after playing the game n times, the scores are not updated on the leaderboard and this is what the leaderboard displays:

There are no public records in this game.

Screenshot for reference

Also tried to make user profile public and disabled with tamper protection on leaderboards set with OAuth2 client ID and SHA-1 fingerprint. But still the same message is displayed. Please let me know the question. Thankyou!

+3


source to share


1 answer


Fixed bug when updating the following libraries in Android Studio (Tools | Android | SDK Manager)



  • Android SDK Platform Tools
  • Google Play Services
  • Google storage
+1


source







All Articles