# Google Play Services Failing / Been Trying for Days

**URL:** <https://forums.unrealengine.com/t/google-play-services-failing-been-trying-for-days/422431>\
**Category:** Blueprint\
**Tags:** Google-Play, google-play-service, unreal-engine, UE4, Blueprint, question\
**Created:** [April 12, 2018, 9:17am UTC](https://forums.unrealengine.com/t/google-play-services-failing-been-trying-for-days/422431 "2018-04-12T09:17:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c4414680](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c4414680](https://forums.unrealengine.com/u/anonymous_user_c4414680)\
**Post date:** [April 12, 2018, 9:17am UTC](https://forums.unrealengine.com/t/google-play-services-failing-been-trying-for-days/422431/1 "2018-04-12T09:17:17Z")

</div>

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

```
Google Cloud Messaging for Android\

Google Cloud Pub/Sub

Google Cloud User Accounts

Google Play Android Developer API

Google Play Game Management

Google Play Game Services

Google+ API

```

-Linked to google api, same package name and sha1 fingerprint

-Added Server Key to google api

-Linked privacy policy in google api

-Included the following in the packaging

-added the following to manifest node in the ue4 android project settings:

```
com.google.android.gms.games.APP_ID="@string/app_id"

com.google.android.gms.appstate.APP_ID="@string/app_id"

```

-added the following to “extra permissions” right next to the information above:

```
com.android.vending.BILLING

android.permission.INTERNET

android.permission.GET_ACCOUNTS

android.permission.USE_CREDENTIALS

```

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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c4414680](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c4414680](https://forums.unrealengine.com/u/anonymous_user_c4414680)\
**Post date:** [April 13, 2018, 6:13am UTC](https://forums.unrealengine.com/t/google-play-services-failing-been-trying-for-days/422431/2 "2018-04-13T06:13:10Z")

</div>

Shameless self bump. What do I have to do to get someone to help me? I’m desperate.

---

<div class="post-metadata">

**Author:** ![Cyrille26](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cyrille26](https://forums.unrealengine.com/u/Cyrille26)\
**Post date:** [April 14, 2018, 9:40pm UTC](https://forums.unrealengine.com/t/google-play-services-failing-been-trying-for-days/422431/3 "2018-04-14T21:40:56Z")

</div>

Hi, i have the same problem like you. The problem come from “Show external login UI”. I found this link ( [Troubleshooting Issues in Your Android Game &nbsp;|&nbsp; Play Games Services &nbsp;|&nbsp; Google Developers](https://developers.google.com/games/services/android/troubleshooting) ) It can help to found the problem with the google service api.

---

<div class="post-metadata">

**Author:** ![SHAINPAIN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SHAINPAIN](https://forums.unrealengine.com/u/SHAINPAIN)\
**Post date:** [May 10, 2018, 2:57pm UTC](https://forums.unrealengine.com/t/google-play-services-failing-been-trying-for-days/422431/4 "2018-05-10T14:57:06Z")

</div>

So how did you manage to generate your SHA1 fingerprint. I keep trying to get it through the command prompt using keytool -list -keystore D:.…\UE4\VMobile\_VR\Build\Android\> as the file path but it keeps kicking me back that the syntax is incorrect. Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Cyrille26](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cyrille26](https://forums.unrealengine.com/u/Cyrille26)\
**Post date:** [May 10, 2018, 9:14pm UTC](https://forums.unrealengine.com/t/google-play-services-failing-been-trying-for-days/422431/5 "2018-05-10T21:14:07Z")

</div>

Before to link a application, generate a file .keystore and after you can found the SHA1 fingerprint. Here you have a link that explain 2 steps ( [Android: Generate Release/Debug Keystores (Example)](https://coderwall.com/p/r09hoq/android-generate-release-debug-keystores) )  
When you have the SHA1 fingerprint, you can link the api google play service with your application.  
That’s all.

---

<div class="post-metadata">

**Author:** ![CtnDev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ctndev/32/1133321_2.png) [@CtnDev](https://forums.unrealengine.com/u/CtnDev)\
**Post date:** [June 21, 2018, 7:16am UTC](https://forums.unrealengine.com/t/google-play-services-failing-been-trying-for-days/422431/6 "2018-06-21T07:16:59Z")

</div>

Hi, I had same problem   
  
Still struggling with the leaderboards&achievments but I could login.  
  
Below solution will only work if you package your project in **SHIPPING**  
  
First there is 2 concept of signing.

- for upload
- for using google API’s

 ![244966-googleapisign.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/f/31f28eefbd8ad635115e85e6145c3ff72209173f.png)

to communicate with google API you need to use upper SHA-1 for Outh-2 requester(below)  
  
I can successfully login. But cannot go further.

 ![244967-googleapisign2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/f/a4fd80f13184e42dc1e556253287b95839ef80a0.png)

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.

Cheers

---

<div class="post-metadata">

**Author:** ![Sampuig12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sampuig12](https://forums.unrealengine.com/u/Sampuig12)\
**Post date:** [November 23, 2018, 11:38pm UTC](https://forums.unrealengine.com/t/google-play-services-failing-been-trying-for-days/422431/7 "2018-11-23T23:38:44Z")

</div>

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.
