Google Play Services Failing / Been Trying for Days
I'm basically at my wit's end here. I'm trying to use google play services in my game, but it is turning out to be so incredibly difficult. I would be so grateful to anyone who would be willing to throw out anything to try. I'll be as detailed as I can. If I leave anything out let me know. I've done all this multiple times, starting from the ground up because there doesn't seem to be a unified resource on how to do this.
Here's a list of everything I've done.
-"enable google play services" checked in project
-Generate SHA1 fingerprint
-Include SHA1 fingerprint in ue4 project for signing and creating a client ID
-Included games app ID in project settings
-"Distribution" box is checked, so it doesn't use debug fingerprint
-Included google license key in my ue4 project settings
-ensured .xml file was updated correctly
-Used the same package name in project, in google play services and app dashboard.
-Made a privacy agreement and linked to project
-Linked application to services and completed services setup. All green check marks
-Set up leaderboards from google services and added leaderboards
-Added leaderboard id's to unreal project
-Connected list of testers, including my own email, allowed that list in services
-Enabled the following APIs
-Linked to google api, same package name and sha1 fingerprint
-Added Server Key to google api
-Included the following in the packaging
-added the following to manifest node in the ue4 android project settings:
-added the following to "extra permissions" right next to the information above:
Is there something I'm supposed to do with the api keys? I mean, I am just stumped. I have done sooooo much reading about how to do this and I think this is all I need to do, and it should work. I've basically started all the way over just to make sure I did everything exactly as instructed.
But when I call "Show external login UI", I get the "connecting to google play games" pop-up, then a loading circle, then it fails. I feel like I've tried everything. Is there something else I need to include in my blueprints?
Please, anyone who has even a little experience with this, help. I'll post pictures or be as specific as requested.
Hi, I had same problem
to communicate with google API you need to use upper SHA-1 for Outh-2 requester(below)
Another solution is not open app signing at googleplay side. I hope both helps, If you have solution about leaderboard and such stuff, please share with me.
answered Jun 21 '18 at 07:16 AM
Ok, I had same problem for past 4 days, this is how I fixed it:
Deleted game from app store and game service(unpublished)
Remade it step by step guide I found, but here is where the problem came from:
When you sign your app with sha1 fingerprint from keystore: Make sure you get the SHA1 USING THE PATH IN ANDROID=>BUILD=>project.keystore Not the one in c/user/.keystore.
So when you generate your keystore, place it in build=>android, and get the SHA1 FROM THERE. Hope it helps.
answered Nov 23 '18 at 11:38 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here