Play Games Services V2 Migration

Hello!

I am developing Android mobile game on UE 5.3.2. I’ve already made a build of the game and I’m trying to upload it to Google Play Console. The following error appears:

This release uses v1 of the Play Games Services SDK, com.google.android.gms:play-services-games, which is not available for new integrations. Migrate to v2 to create a release.

I’m using Google Sign-In functionality and I can’t just remove SDK, I am definitely need to migrate it to successfully upload a build.

Are there any off-the-shelf solutions or can someone write a migration guide?

1 Like

hey did you find any solution for it i asked chat gpt and deep seek they saying we need to update it in gradle against om.google.android.gms:play-services-games but i couldnt find this any where

Does anyone know, if it’s already fixed in latest UE versions 5.5 / 5.6 ?
I tried migrating as per google doc, Migrate to Play Games Services v2 (Java or Kotlin)  |  Android game development  |  Android Developers

The play console continue to report as Games SDK v1 is being used.

1 Like

i am getting same error tell me if you can find the solution

i did in unreal engien 5.3.2 now i am trying to package my game in unreal engien 5.5.4 but getting some error as soon as i fix it i will tell you

Finally with UE 5.5.4 I’m able to build and get verified in Google play for Games v2 SDK usage
Google play is happy now & me too!

You would need to modify few lines in Google Ads APL file for the build issues, if you have it with UE 5.5.4
File : UE_5.5\Engine\Source\Runtime\Advertising\Android\AndroidAdvertising\AndroidAdvertising_APL.xml
Use _activity instead of _activityContext for runOnUiThread symbol not found

1 Like

does it really works i found one plugin on marketplace which claims to fix few errors like storge issue in android 12 above and billining version 6.0 and also this sdk issue i used it in 5.3.2 it fix the bugs but this v2 mitigation does not fixed

Also i am using easy ads pro meditation plugin to show ads it works and pacakge fine in unreal 5.3.2 it also support 5.5.4 but there are few issues with facebook ads which i am not using but plugins provide they have diffrent dependceis issue due to which i am not able to package my game i totallly cooked

Additionally I have few other changes for UE 5.4.4, which I was using in UE 5.3.2 for few crash and ads related issues. You may try the followings, if that helps to resolve.

Solution for app crash at startup for targetSDK=34 / Android 14:

  • Used in UE 5.3.2, where billing client was 6.0.0
  • Anyway applied to UE 5.5.4 where billing client is 6.2.1 and also UE 5.5.4 has registerReceiver modification already that was done by me in UE 5.3.2

============== (1) Update billing library version from 6.2.1 to 7.0.0 ==============
D:\Unreal\UE_5.5\Engine\Plugins\Online\Android\OnlineSubsystemGooglePlay\Source\OnlineSubsystemGooglePlay_UPL.xml
implementation ‘com.android.billingclient:billing:6.2.1’ to implementation ‘com.android.billingclient:billing:7.0.0’


============== GooglePAD plugin modification per Google Play requirements on PLAY.CORE version for targetSDK=34 ==============

Refer Overview of the Google Play Core libraries  |  Android Developers

Replace com.google.android.play.core.tasks.; to import com.google.android.gms.tasks. in following files
D:\Unreal\UE_5.3\Engine\Plugins\Runtime\GooglePAD\Source\ThirdParty\play-core-native-sdk\proguard\split_install.pgcfg


============== Update Ads library required by Google PLAY policy ==============

D:\Unreal\UE_5.5\Engine\Source\Runtime\Advertising\Android\AndroidAdvertising\AndroidAdvertising_APL.xml
implementation(‘com.google.android.gms:play-services-ads:18.1.0’) to 19.8.0 to 22.6.0
implementation(‘com.google.android.gms:play-services-ads-lite:22.6.0’)
implementation(‘com.google.android.gms:play-services-ads-base:22.6.0’)
and Fix build issue (runOnUithread sym not found seen in original UE 5.5.4 dist.)

D:\Unreal\UE_5.5\Engine\Build\Android\Java\aar-imports.txt - Add the following
com.google.android.gms,play-services-ads,22.6.0
com.google.android.gms,play-services-ads-lite,22.6.0
com.google.android.gms,play-services-ads-base,22.6.0


1 Like

hey i tried to make changes in this file \AndroidAdvertising_APL.xml and it says it is only read file you cant make changes in it how did you done that

Change the file properties by right click to make it ‘not-ready only’

1 Like

ahh okay okay got it and one last question if i make these changes in 5.3.2 will it work there also

I tried all the changes as documented by Google for Games v2 SDK migration in 5.3.2, but Google Play was still complaining that Games v1 SDK is used. So, I left that to upgrade 5.5.4

1 Like

for me too the only error i am not upgrading to 5.5.4 is i am usign ads plugin which creating this error


again some plugin conflicts with engine

Finnaly i guess War has ended the last battle to fight which is that ads plugin and error i am getting in 5.5.4 apparentyl i didnt made any changes you suggested in 5.5.4 and it still worked for me i was thinking to make changes as soon as it gives me error

1 Like