# UE4 github VS2022 com.google.android.gms.plus ANDROID

**URL:** <https://forums.unrealengine.com/t/ue4-github-vs2022-com-google-android-gms-plus-android/714139>\
**Category:** Mobile\
**Tags:** unreal-engine, crash, Android, bug-report, packaging-projects\
**Created:** [November 23, 2022, 7:39pm UTC](https://forums.unrealengine.com/t/ue4-github-vs2022-com-google-android-gms-plus-android/714139 "2022-11-23T19:39:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikoniko2027](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nikoniko2027/32/593531_2.png) [@Nikoniko2027](https://forums.unrealengine.com/u/Nikoniko2027)\
**Post date:** [November 23, 2022, 7:39pm UTC](https://forums.unrealengine.com/t/ue4-github-vs2022-com-google-android-gms-plus-android/714139/1 "2022-11-23T19:39:59Z")

</div>

Hi! I have encountered such a strange problem. Does anyone know how to solve it? I’ve been looking for answers for a long time, but I haven’t found them

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/1/f219192d9038e1d13f4375cf6e13286ddd94c7cd.png)

UE4 GitHub version (4.27.2)  
Visual Studio 2022  
Android studio 4.0.0

min SDK = 23  
Target SDK = 31

SDK api = latest  
NDK api = android-23

I edited the aar-import file, but this method did not help me either.

---

<div class="post-metadata">

**Author:** ![Nikoniko2027](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nikoniko2027/32/593531_2.png) [@Nikoniko2027](https://forums.unrealengine.com/u/Nikoniko2027)\
**Post date:** [December 10, 2022, 5:38pm UTC](https://forums.unrealengine.com/t/ue4-github-vs2022-com-google-android-gms-plus-android/714139/2 "2022-12-10T17:38:50Z")

</div>

After a lot of suffering and a long time, I was able to find a solution to this problem. I don’t know what this is related to, but something is happening in the UE and for some reason it starts ignoring some UPL files that it used without any problems before. In general, the solution turned out to be quite simple.

You need to find the file **build.gradle** , which is on this path …\Engine\Build\Android\Java\gradle\app\ and in it in the **dependencies** section (this is at the very bottom) you need to force the engine to compile this library using the command **compile “com.google.android.gms:play-services-plus:11.8.0”**. By the way, later the Unity ADS plugin stopped working for me with the same problem. I had to also write it in **build.gradle** → **compile “com.unity3d.ads:unity-ads:4.2.1”**.

I hope I helped someone.

---

<div class="post-metadata">

**Author:** ![Thoeme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thoeme](https://forums.unrealengine.com/u/Thoeme)\
**Post date:** [March 20, 2025, 4:33pm UTC](https://forums.unrealengine.com/t/ue4-github-vs2022-com-google-android-gms-plus-android/714139/3 "2025-03-20T16:33:19Z")

</div>

Hi there. Many thanks for your reply. This randomly happened to me today in a project I was able to package just fine previously. Although I had to use `implementation 'com.google.android.gms:play-services-games:22.0.1'` instead of the one you provided, your answer still lead me on the right track. So, again thank you very much.

In case anyone else comes across this issue: You can find the correct version to put in the command in the build.gradle file from the engine directory (…\Engine\Build\Android\Java\gradle\app).

Cheers
