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 https://bintray.com/android/android-tools/com.google.gms.google-services/) 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.
asked Dec 31 '17 at 03:58 PM in Packaging & Deployment
Thanks for the help SkyHigh.
Got it fixed thanks a ton to the help from the guys over at gameDNA , the issue was the following, go to:
and change the following line in the file :
< insertValue value="com.google.android.gms,play-services-ads,11.0.4" />
< 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
answered Jan 13 '18 at 04:57 AM
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.
answered Jan 12 '18 at 03:42 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here