Android project packaging error

My current project aborts at a specific point at the packaging process after running smoothly through the entire process.

I am at a loss at what to do next, pulling my hair out at this point, my problem seems to be the following(quoted from the output log):

“Found com.google.android.gms:play-services-ads:11.0.4, but version 11.6.2 is needed for the google-services plugin.
UATHelper: Packaging (Android (ETC1)): :app:processReleaseGoogleServices FAILED
UATHelper: Packaging (Android (ETC1)): FAILURE: Build failed with an exception.
UATHelper: Packaging (Android (ETC1)): * What went wrong:
UATHelper: Packaging (Android (ETC1)): Execution failed for task ‘:app:processReleaseGoogleServices’.
UATHelper: Packaging (Android (ETC1)): > Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at Service End for Bintray, JCenter, GoCenter, and ChartCenter | JFrog) or updating the version of com.google.android.gms to 11.6.2.
UATHelper: Packaging (Android (ETC1)): * Try:
UATHelper: Packaging (Android (ETC1)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
UATHelper: Packaging (Android (ETC1)): BUILD FAILED”

After this point the packaging aborts.

I have no idea how to update the plugin to 11.6.2 as all of the google-services are the same version 11.0.4 or if that is even the true issue , I have scoured forums high and low on this issue maybe I missed it though.

Any help on this issue would be greatly appreciated.

I don’t have an answer for you, but I am having the same problem myself, even on empty projects, but only with specific third party plugins enabled. I’m talking with the plugin developer and I’ll share my solution if/when I find it.

I had the same problem some time ago, also with some plugins, and got past it after doing two things.

I updated Android SDK Tools and Android SDK platform-tools, using the Android SDK manager. Default location on windows: C:\NVPACK\android-sdk-windows\tools\android.bat

I also turned off “Include AdMob support for ads” in project settings under Platforms/Android/Google Play Services

Having done both at the same time I cant be certain which of them made the difference, but give it a try.

Thanks for the help .

Got it fixed thanks a ton to the help from the guys over at gameDNA , the issue was the following, go to:

Engine\Source\Runtime\Advertising\Android\AndroidAdvertising\AndroidAdvertising_APL.xml"

and change the following line in the file :

< insertValue value=“com.google.android.gms,play-services-ads,11.0.4” />

to :

< insertValue value=“com.google.android.gms,play-services-ads,11.6.2” />

and save it, this solved the problem for me.

ALL props for this fix goes to Patrick from GameDNA.

Hope this helps anyone else with this exact problem

Thanks Aakrasia,

I post a comment down below with how to fix that error.