To troubleshoot problems with your game, you can turn on verbose logging
on your device using the
adb shell command. You can then view the
Google Play games services log messages using logcat.
To enable logging on your test device:
- Connect the device to a machine that has the Android SDK installed.
Open a terminal and run this command:
adb shell setprop log.tag.Games VERBOSE
Run your game on the device and reproduce the problem you are trying to debug.
- View logs:
To disable verbose logging for the Google Play games services on your device and revert to the original logging behavior, run the following command:
adb shell setprop log.tag.Games INFO