Google Play Game Services is testing:
public class MainActivity extends BaseGameActivity {
public void onCreate( Bundle savedInstanceState )
{
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
beginUserInitiatedSignIn();
}
}
When onSignInFailed()
is called, the following pop-up message appears:
the application is incorrectly configured. Check that the package name
and signing certificate match the client ID created in Developer
Console. Also, if the application is not yet published, check that the
account you are trying to sign in with is listed as a tester account.
See logs for more information
I have sovled the problem like this :)
- Go to Google Developper Console https://cloud.google.com/console
- Select Your game project, go to "APIs & Auth" > "Creditentials"
- Delete all the "Client ID for Android application" you have
At this point, we don't have anything more to do in the Google Developper Console.
- Go to Android Developper Console https://play.google.com/apps/publish
- Select your game in Play service
- Go to "linked applications"
- Create a NEW linked application android and put it your production certificate SHA1
- Create a NEW linked application android and put it your debug certificate SHA1
- Wait a few to changes be deployed
Now, we need to clear the Android Application cache before trying to connect
- Clear cache of your application
- Launch your app
And... It's works !! (For me at least...) My problem was that I've created the linked apps from the Google Developer Console instead of the Android Developper Console...