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 Build Failed Unknown Error

Getting this error:

PackagingResults:Error: Error Launch failed! Unknown Error

What's wrong?


Unreal (4.7.2)

Nexus 4 (5.0.1)

Android SDK / NDK + Java SDK installed and configured in project settings.

Device shows up in Windows device manager and the UE4 launcher drop down.

Output log - http://pastebin.com/keik6QGS

Product Version: Not Selected
Tags:
more ▼

asked Mar 06 '15 at 01:41 AM in Packaging & Deployment

avatar image

Neros_
279 29 42 56

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

3 answers: sort voted first

After some more Google-Fu I came across this.

Seems the NDK must have ZERO spaces in the file path, so if you install it into 'Program Files' it's not going to work.

more ▼

answered Mar 10 '15 at 12:35 AM

avatar image

Neros_
279 29 42 56

avatar image Acrossfy Mar 10 '15 at 02:43 PM

Yep, I also found this solution and answered in my question topic few days ago.

avatar image Devilofawesomeness Sep 22 '15 at 01:00 AM

My apologies, but how do i alter the NDK file path? Thank you in advance.

avatar image Neros_ Sep 22 '15 at 05:55 AM

In 'Project settings', there should be an option for Android and one for Android SDK. The paths you need are all set in in the Android SDK page.

avatar image TheGreatCabbage May 27 '17 at 03:52 PM

Thanks. It's a pity that it won't let you install in Program Files.

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

Your error from your log:

"ERROR: C:/Program Files (x86)/Android/android-ndk-r10d/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1"

I have the same error, but on mac – 47-os-x-android-packaging-ndk-fails

On Windows, possibly you can try to run engine as administrator, like here – android-packaging-error-ndk-buildcmd

more ▼

answered Mar 06 '15 at 09:09 AM

avatar image

Acrossfy
427 15 32 164

avatar image Neros_ Mar 10 '15 at 12:20 AM

Didn't help, I get the same errors.

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

Possibly you need to enable the security setting on your phone to "allow installation from unknown sources". This fixed the "build failed unknown error" for me, at least.

more ▼

answered Mar 10 '15 at 04:22 AM

avatar image

xamomax
26 1 2 3

avatar image Neros_ Mar 10 '15 at 04:55 AM

I already fixed it, you can't have spaces in the NDK file path.

avatar image Houd1ny Jul 24 '15 at 12:04 AM

helped me +1

(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