x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: UE 4.18
Tags:
more ▼

asked Dec 31 '17 at 03:58 PM in Packaging & Deployment

avatar image

Codation
21 1 5

avatar image Aakrasia Jan 10 '18 at 03:22 PM

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.

avatar image Codation Jan 13 '18 at 04:58 AM

Thanks Aakrasia,

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

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

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:

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

more ▼

answered Jan 13 '18 at 04:57 AM

avatar image

Codation
21 1 5

(comments are locked)
10|2000 characters needed characters left

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.

more ▼

answered Jan 12 '18 at 03:42 AM

avatar image

SkyHigh
456 9 14 35

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question