Neros
(Neros)
March 6, 2015, 1:41am
1
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
Acrossfy
(Acrossfy)
March 6, 2015, 9:09am
2
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
Neros
(Neros)
March 10, 2015, 12:20am
3
Didn’t help, I get the same errors.
Neros
(Neros)
March 10, 2015, 12:35am
4
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.
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.
Neros
(Neros)
March 10, 2015, 4:55am
6
I already fixed it, you can’t have spaces in the NDK file path.
Acrossfy
(Acrossfy)
March 10, 2015, 2:43pm
7
Yep, I also found this solution and answered in my question topic few days ago.
My apologies, but how do i alter the NDK file path? Thank you in advance.
Neros
(Neros)
September 22, 2015, 5:55am
10
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.
Thanks. It’s a pity that it won’t let you install in Program Files.