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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Android packaging error 5

Hi. We were trying to deal with an error 1 appearing each time we ticked shipping configuration, in order to be able to publish our app on the play store, but then suddenly an error 5 appeared, and we can't find a way to get rid of it. I attached the full logs. link text

Product Version: UE 4.13
Tags:
log.txt (367.2 kB)
more ▼

asked Dec 05 '16 at 11:18 PM in Packaging & Deployment

avatar image

Täysikuu
25 1 3 9

avatar image Samantha Sutton ♦♦ STAFF Dec 09 '16 at 09:13 PM

Täysikuu,

Have you attempted to delete your Intermediate and Saved folders yet?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Hey Täysikuu,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

more ▼

answered Dec 13 '16 at 09:28 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi,

I think that this is the error that shows up in your log:

[javac] C:\Users\Stan Thobemmos\Documents\Unreal Projects\BOB2\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:58: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] import com.google.android.gms.common.api.GoogleApiClient;

It is trying to find the GoogleApiClient and it cant find it in your libs folder. Ensure that the google play library files are added to the JavaLibs folder as in this screenshot: alt text

Check this out: How to add google play services to Unreal

Hope this helps.

googleplaylibs.png (478.6 kB)
more ▼

answered Dec 06 '16 at 07:04 AM

avatar image

d0d0
477 16 8 18

avatar image Täysikuu Dec 06 '16 at 11:16 AM

Thanks for your answer, but the folders are here... Also I forgot to mention in the first message, to get rid of the error 1 we tried to copy zipalign.exe from C:\NVPACK\android-sdk-windows\build-tools\20 to C:\NVPACK\android-sdk-windows\tools and then we got error 5, even though we removed it afterwards...

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi

I am not sure if your issue has been resolved or not, but skimming through your log, I found this error

 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Error: C:\Users\Stan Thobemmos\Documents\Unreal Projects\BOB2\Intermediate\Android\APK\JavaLibs\play-services-base-9.2.0 is not a valid project (AndroidManifest.xml not found).
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-base-9.2.0...
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Error: C:\Users\Stan Thobemmos\Documents\Unreal Projects\BOB2\Intermediate\Android\APK\JavaLibs\play-services-base-9.2.0 is not a valid project (AndroidManifest.xml not found).
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Error: No Android Manifest at: C:\Users\Stan Thobemmos\Documents\Unreal Projects\BOB2\Intermediate\Android\APK\JavaLibs\play-services-base-9.2.0


Can you check the AndroidManifest.xml for these libraries ?

Thanks d0d0

more ▼

answered Dec 07 '16 at 12:43 AM

avatar image

d0d0
477 16 8 18

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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