# UE5.2 Show External Login UI Crashes on Android

**URL:** <https://forums.unrealengine.com/t/ue5-2-show-external-login-ui-crashes-on-android/1289909>\
**Category:** Mobile\
**Tags:** unreal-engine, crash, Android, question, Blueprint\
**Created:** [September 10, 2023, 11:14am UTC](https://forums.unrealengine.com/t/ue5-2-show-external-login-ui-crashes-on-android/1289909 "2023-09-10T11:14:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HakanErunsal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HakanErunsal](https://forums.unrealengine.com/u/HakanErunsal)\
**Post date:** [September 10, 2023, 11:14am UTC](https://forums.unrealengine.com/t/ue5-2-show-external-login-ui-crashes-on-android/1289909/1 "2023-09-10T11:14:24Z")

</div>

Hello, i am having this issue for quite a while and can’t figure it out. I checked every topic and everything i could find online, tried a lot of solutions but couldn’t figure this out. Basically when i call Show External Login UI on android, it starts lagging the device, keeps trying and eventually crashes in around 5 seconds.

I have Google Play Support enabled in the project settings, i have proper setup with IDs and everything. I have added my games id to GooglePlayAppID.xml, no luck.

Does anyone know how to fix this?

EDIT:

By investigating more, i could find these two lines in the logcat after i call Show External Login UI;

LogOnline: OSS: StartShowLoginUITask PlayerId: 0  
LogOnline: OSS: StartShowLoginUITask Game Services was null

For some reason, it says Game Services is null. This goes for both interal test and launch directly to device.

---

<div class="post-metadata">

**Author:** ![Awesumson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Awesumson](https://forums.unrealengine.com/u/Awesumson)\
**Post date:** [October 31, 2023, 8:17pm UTC](https://forums.unrealengine.com/t/ue5-2-show-external-login-ui-crashes-on-android/1289909/2 "2023-10-31T20:17:32Z")

</div>

Have you had any luck? I’m having the same issue

---

<div class="post-metadata">

**Author:** ![Awesumson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Awesumson](https://forums.unrealengine.com/u/Awesumson)\
**Post date:** [November 3, 2023, 9:04pm UTC](https://forums.unrealengine.com/t/ue5-2-show-external-login-ui-crashes-on-android/1289909/3 "2023-11-03T21:04:58Z")

</div>

Found the solution to the issue in another thread so posting here  
Set the following values in Engine\Build\Android\Java\aar-imports.txt  
`com.google.android.gms,play-services-auth,18.1.0`  
`com.google.android.gms,play-services-nearby,18.1.0`  
`com.google.android.gms,play-services-games,18.0.1`  
`com.google.android.gms,play-services-plus,17.0.0`  
If you have an ads plugin, change the ‘\_UPL.xml’ file in the plugin directory to the same values. I’ve found I only needed to change it in the plugin file, but if it doesn’t work, try both
