Hello,
I am using UE4.10 And when i try to build for Android the build fails near the end of the build process.
Yes i have the “toolchain” Installed, i also have both VS1013 AND VS 2015 Installed
Attached is the build log
If its important i am trying to package for Android (ATC)
.[link text][1]
72538-unrealbuildfail.txt (93.8 KB)
Hey ,
It looks like your Visual Studio isn’t installed properly:
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that "Common Tools for Visual C++ 2015" was selected when installing Visual Studio 2015.
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: Using Visual Studio 2013 toolchain instead of Visual Studio 2015 toolchain.
Please modify your Visual Studio 2015 to include the Common Tools.
Thanks!
hello i did that but now it gets stuck trying to cook deleted assets
Can you please upload the newest version of the output ?
here they are [link text][1]
73135-build+failure.txt (109 KB)
Could you please make sure that you’ve opened up your SDK Manager in “C:\android-sdk-windows” and that you’ve downloaded all of the tools available.
If that does not work for you, please upload a screenshot of your Android SDK settings from within the editor.
Thank you!
Although the SDK Is installed to another i have made sure that the tools are installed, I will also attach another build log and a screen shot of the SDK Manager
[Build Log][1]
Could you please install Android Works on your C . I would suggest following this [guide][1] if you want to make sure you’re not missing any steps.
Thanks!
https://docs.unrealengine.com/latest/INT/Platforms/Android/GettingStarted/1/index.html
Its now in my C and the build failed again
The environmental Variables and andriod sdk settings point to the right place
[link text][1]
73318-sdk+c+fail.txt (114 KB)
Could you please go back to your SDK Manager and click on ‘Install 15 Packages’, then restart your computer and see whether or not that has resolved the issue.
The error still falls back on the same message:
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: BUILD FAILED
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: C:\android-sdk-windows\tools\ant\build.xml:653: The following error occurred while executing this line:
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: C:\android-sdk-windows\tools\ant\build.xml:698: null returned: 1
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: Total time: 15 seconds
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: UnrealBuildTool Exception: ERROR: cmd.exe failed with args /c “C://apache-ant-1.8.2/bin/ant.bat” debug
I just went in to the manager and the 15 packages was because i had android 6.0 selected in the screenshot, but there is an update available which i will install then get back to you
selected as in if i wanted to insatll the whole of the 6.0 stuff
Something that dawned on me, could spaces in the project folder cause issues. Not the project name but the folder
Okay, updating the SDK Tools hasn’t helped, nor has removing spaces in project folder
Spaces sometimes cause trouble, but normally the error would include ‘illegal characters are being used’ within the error paragraph.
Provide me with updated since you’ve changed a few things, including updating your SDK and I will see what I can find out.
Thank you!
Hello here are the new , one is from the launcher version of 4.10 and the other is from the source version
[Source][1]
[Launcher ][2]
74137-4.10+soruce.txt (239 KB)
[2]: 74138-410+launcher+version.txt (20.5 KB)
I found a couple AnswerHub posts that may be helpful to you. The error that you’re running into is "fatal error: ‘wchar.h’ file not found’.
- [AnswerHub - Compiling Android - wchar.h not found][1]
- [AnswerHub - wchar.h can no longer build ETC-2][2]
Please try these suggestions, or as much as you’re willing to go. Let me know if you’ve made any progress.
Compiling Android - fatal error : 'wchar.h' file not found - Mobile - Epic Developer Community Forums
[2]: I can no longer Build for Android_etc2 / Samsung gear VR - Mobile - Epic Developer Community Forums
So i downloaded the tappy chicken sample and i successfully packaged it from Android ATC (the one i am trying to package for in general) [LOG][1]
But it failed for my project [LOG][2]
The packaging for both was 4.10 launcher
74402-tappychickern.txt (266 KB)
[2]: 74403-log7.txt (20 KB)
From what I can see, the difference is you’re missing wchar.h file.
F:\Epic\Epic Games\4.10\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h(6,10) : fatal error: 'wchar.h' file not found
- Did you try every suggestion in the posts I had provided you previously?
- Could you also try to create a new project and package it, such as a First Person Template?
- Could you test out 4.11 Preview as well?
Thanks!
Hello iv tried all of the ones apart from reinstalling windows which i carnt do
also tappy chicken had stopped packaging
[4.11 packaging][1]
[FPS Example][2]
[Launcher Version Fail][3]
[Source Fail][4]
[Tappy Chicken Fail][5]
74619-411.txt (8.34 KB)
[2]: 74620-fpsexample.txt (18.5 KB)
[3]: 74631-lanucher+fali.txt (18.8 KB)
[4]: 74632-sourcefail.txt (241 KB)
[5]: 74633-tappy+fail.txt (308 KB)
Please try Android API Level 19. I see that you’re using Android API Level 23 in your current setup.
If that does not work, please try to also delete your Intermediate and Saved folders from your project folder.
I’d also suggest looking into reinstalling your command line tools for your OS version.