x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Issue with signing into google play game services.

Hello,

I have having trouble getting my game to sign into google play game services. So far I have: - uploaded apk and obb files to google play - created a corresponding "game services" app and linked the two - created a keystore and placed it in my project/build/android folder - published app through an alpha release - added testers to both the "app" and "game services app" (however the game services app is not published)

...I am able to download my game from google play, however it cannot sign into to google play services. I believe that the issue has to do with the certificates (sha-1, sha-256, or MD5). Although I already created a keystore and linked the apps, however I did not do anything special with any of these certificates that were generated. I am really stuck on this issue and any help would be greatly appreciated.

here is a pic of my login blueprints JIC: alt text

and these are the certificates that I was referring to:

alt text

Product Version: UE 4.20
Tags:
gplaylogin.png (119.2 kB)
certs.png (18.5 kB)
more ▼

asked Jul 31 '18 at 04:47 PM in Packaging & Deployment

avatar image

mrwrong138
46 5 4 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Just in case anybody is having a similar issue. The problem was that I made my own keystore (https://docs.unrealengine.com/en-us/Platforms/Android/DistributionSigning), but I also opted for app signing on the google developer console. I resolved this issue by going to the Google Developer Console => Game Services => "Your App" => Game Details => (scroll to the bottom where it says API Console project...this game is linked to the API console project called "your app" =>

follow this link, go to credentials, click on the app your are having problems with, and replace the SHA-1 signing-certificate with the one you generated when you made a keystore.

In order to find the keystore that you previously generated, you will need to open command prompt and type the following (with your own information of course):

keytool -exportcert -alias YOURALIAS -keystore YOURKEYSTORE -list -v

if done correctly, you will be prompted to enter the password that you created earlier. Enter the password and all of the certificate fingerprints should be generated, at which point you can replace the out the key inside the API console. Doing this allowed my app to sign into google play services.

more ▼

answered Jul 31 '18 at 06:21 PM

avatar image

mrwrong138
46 5 4 9

avatar image sei556 Jan 07 '19 at 03:58 PM

Hey, sorry but I'm having the same problem as you described it, however I can't replicate your solution. I can't find a place inside the API console where I can replace the keys.

I found the android, server and web keys but nothing else. Am I missing something here or did the API console get an an update ?

avatar image mrwrong138 Jan 07 '19 at 10:12 PM

if you found the keystore that you created, you have to go to

google play developer console ==> game services ==> game details (scroll toward bottom) ==> find the link that says "This game is linked to the API console project called 'Your Game" ==> credentials (on the left side under library) ==> now click on your game ==> now you should see this "keytool -exportcert -alias YOURALIAS -keystore YOURKEYSTORE -list -v" ==> paste the keystore you generated under this

avatar image sei556 Jan 08 '19 at 05:43 PM

Thanks I found it ! In-App purchases still don't work but ads do - so that's a win I guess

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question