Google Play Services causes Android application to crash on load

Lou781
Mon, 17 Apr 2023 10:16:55 +0000
Mobile

When creating my application, I have been attempting to implement Google Play Services into my game so that I can get a working leaderboard system, along with Admob Ads.

I have followed all the UE4/5 documentation regarding this setup, and have set up the following in the project settings

Extra Permissions:

android.permission.INTERNET

com.android.vending.BILLING

Google Play Services:

Enable Google Play Support

Games App ID

Google Play Licence Key

Leaderboard Map

For Admob Ads, I am using a plugin that is separate from the default Google Play Services so that I can also integrate iOS into the equation.

As for the leaderboard system, I have already got this working successfully on iOS and will bring up the Game Centre Leaderboards without issue. Android, however, will crash on load after toggling "Enable Google Play Support.

This also appears to be occurring with the Plugin I’m using for Admob Ads as it requires Google Play Services.

Java Gradle:

D:\Unreal Engine\UE_5.1\Engine\Build\Android\Java\arr-imports.txt

com.google.android.gms,play-services-auth,11.8.0

com.google.android.gms,play-services-games,23.0.0

com.google.android.gms,play-services-nearby,11.8.0

com.google.android.gms,play-services-plus,11.8.0

Gradle files appear to be out of date but no idea on how to update these if they are the cause

Any help at all would be appreciated as I am completely stumped on why this isn’t working for me.

7 posts - 6 participants