I work with Google Play Games Services. I took the code from the official example. Try with API 27 and with API 17.
All works only under one account (owner Google Develo
True path is requestScopes(Games.SCOPE_GAMES_LITE):
GoogleSignInOptions gso = new GoogleSignInOptions
.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
.requestScopes(Games.SCOPE_GAMES_LITE)
.requestEmail()
.build();
Following this Google Game Doc should be enough: https://developers.google.com/games/services/android/signin
You should use:
GoogleSignInOptions gso = new GoogleSignInOptions
.Builder(GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN)
.requestEmail()
.build();
I had the same issue.
In my case, it happened when I added a new developer in my google console.
When some changes are made in the console, even though google gives us a green flag instantly, it is taking some time to get activated. My problem got solved without me doing anything but to wait a couple of hrs.
Note that as per Developer's Blog,
GoogleSignInOptions gso = new GoogleSignInOptions.Builder( GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN).build();
is sufficient for
Games Lite scope
.
Note: This is as per 14th November 2018