Android building failing within a few seconds

MainFrameActions: Packaging (Android (All)): UnrealBuildTool: E:\Program Files\Epic Games\4.9\Engine\Intermediate\Build\Android\UE4\Shipping\HangMan\HangMan.h(4,10) : fatal error: UTF-16

So change this file (“C:\Users\Documents\Unreal Projects\HangMan\Source\HangMan\HangMan.h”) from UTF-16 to UTF-8. By default, these files are generated with UTF-16. So simply open the .h file in Notepad++ and change the encoding type.

Let me know if you have any further questions, thanks!