Kahrabaa
Member
Hello, I would really like to get started with adding leaderboards and achievement but I cant seem to get my game to login in using achievement_login. Please help or point me in the right direction.
Problem:
Whenever i call achievement login, either at the start of the game or midgame. It opens up a google play menu attempting to login then giving an error message saying "Failed to sign in. Please check your network connection and try again." Same problem both with 1.4 and EA 1.9
The compiler shows:
-I tried another game from play store to test the google game app and it logged in with no problem (a small slide comes down from top of the screen showing my account name and logo)
-Ive entered appID into global settings from the developer console and Linked the app in game
services.
-Ive enabled game services in globalsettings and downloaded the extension.
-I found this topic https://forum.yoyogames.com/index.p...n-google-play-services-extension-2-9-0.20946/ but since I downloaded another game from the store and the login worked, there has to be no problem with an update or inactive google app. According to his solution.
My info:
Target SDK: 23
Min SDK: 17
Compile SDK: 23
Support Lib: 23.2.1
Build Tools: 25.0.2
Thank you.
Edit: Btw I accidentaly published the game on play store with 2 capital letters in the package name. Hope thats okay. Admob/showing ads works fine.
Edit: Hehehe, I apologize, I should have dug deeper first. Apparently I had to complete some more steps on the developer console to be able to start working on GMS. I needed to add 5 achievements and add my Google Play account as a testing device on my site. Now it works! Im so happy =D
This here helped me.
http://www.fm-studio.net/blog/gmstudio-add-google-play-games-1/
Problem:
Whenever i call achievement login, either at the start of the game or midgame. It opens up a google play menu attempting to login then giving an error message saying "Failed to sign in. Please check your network connection and try again." Same problem both with 1.4 and EA 1.9
The compiler shows:
Code:
onConnectionFailed called with result:ConnectionResult{statusCode=
SIGN_IN_REQUIRED, resolution=PendingIntent{6926ef1: android.os.BinderProxy@2bec4552}, message=null}
-Ive entered appID into global settings from the developer console and Linked the app in game
services.
-Ive enabled game services in globalsettings and downloaded the extension.
-I found this topic https://forum.yoyogames.com/index.p...n-google-play-services-extension-2-9-0.20946/ but since I downloaded another game from the store and the login worked, there has to be no problem with an update or inactive google app. According to his solution.
My info:
Target SDK: 23
Min SDK: 17
Compile SDK: 23
Support Lib: 23.2.1
Build Tools: 25.0.2
Thank you.
Edit: Btw I accidentaly published the game on play store with 2 capital letters in the package name. Hope thats okay. Admob/showing ads works fine.
Edit: Hehehe, I apologize, I should have dug deeper first. Apparently I had to complete some more steps on the developer console to be able to start working on GMS. I needed to add 5 achievements and add my Google Play account as a testing device on my site. Now it works! Im so happy =D
This here helped me.
http://www.fm-studio.net/blog/gmstudio-add-google-play-games-1/
Last edited: