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"

.APK Packaging "Unknown Error"

Hello! I have been trying to export my game to android, but it keeps failing due to an "Unknown Error." I have tried over and over, played it in the editor, built it for windows with it working just fine, and was able to launch it onto an android device, but the game crashes after 5 seconds or so after the game starts. I have checked the "Package Game Data inside .apk" option, which is when it fails. When it is unchecked, it works just fine. (I need it checked so I can distribute it on amazon.) Here is what my Android SDK setting look like: alt text

Here is the build log (I am currently building for Android (All)):

Build Log

Product Version: UE 4.10
log.txt (551.9 kB)
more ▼

asked Mar 02 '16 at 11:16 PM in Packaging & Deployment

avatar image

48 11 9 14

avatar image Matthew J Mar 04 '16 at 03:21 PM

Hello Discodude16,

Are you sure that all of your android tools are installed? The error message that stands out here seems to be:

Exception in UnrealBuildTool: ERROR: cmd.exe failed with args /c "C:/NVPACK/apache-ant-1.8.2/bin/ant.bat" debug

This normally indicates a lack in some installed software. Also, it may be best to change the last two fields listed in your screenshot from "latest" in both to "matchndk" and "android-19".

As far as installing the needed software, this page should be of some help to ensure that nothing is missed:


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

1 answer: sort voted first

We haven't heard from you in a while, Discodude16. Are you still experiencing this issue? If so, have you tried the suggestion I made in my previous comment? How did it work out for you? I'll be marking this issue as resolved in the meantime for tracking purposes.

more ▼

answered Mar 10 '16 at 03:04 PM

avatar image Marinara.Sauce Mar 11 '16 at 08:34 PM

Oops, sorry. I forgot to check this in a while. I will try your solution sometime soon. Hopefully I get good results (and not forget to get back.) Thanks!

(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