Copyright (C) 2013 Google Inc.
CollectAllTheStarsNative: The sample demonstrates how to use Snapshot feature with C++ code with Google Play game services native SDK.
-
Set up the project in Developer Console. For more info:
https://developers.google.com/games/services/console/enabling
Note your package name and the APP ID of the project.
-
Enable Turn-based multiplayer setting in Saved Games (see the ones that the sample needs in its res/values/ids.xml)
IMPORTANT: make sure to sign your apk with the same certificate as the one whose fingerprint you configured on Developer Console, otherwise you will see errors.
IMPORTANT: if you are testing an unpublished game, make sure that the account you intend to sign in with (the account on the test device) is listed as a tester in the project on your Developer Console setup (check the list in the "Testing" section), otherwise the server will act as though your project did not exist and return errors.
First of all, take a look at our troubleshooting guide. Most setup issues can be solved by following this guide.
If your question is not answered by the troubleshooting guide, we encourage you to post your question to stackoverflow.com. Our team answers questions there reguarly.