I'm trying to implement leaderboards into my Android game, using the GPS extension by YoYo Games. It seems to log in, but can't fetch the leaderboard using achievement_show_leaderboards().
Achievement system is available (checked using achievement_available()) but it says that I don't have the Games API.
Googling it didn't yield any results. How can I fix this?
Code:
09-24 20:36:12.714 4027 4064 I yoyo : Achievement available: 1
09-24 20:36:12.716 4027 4027 I yoyo : Attempting to show leaderboards.
09-24 20:36:13.565 4027 4027 I yoyo : Failed to show leaderboards: com.google.android.gms.common.api.ApiException: 17: API: Games.API is not available on this device.
Googling it didn't yield any results. How can I fix this?