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 from Missing DLL's (ntdll.dll, kernel32.dll, kernelbase.dll)

MainFrameActions: Packaging (Android): UE4Editor-Cmd: GuardedMainWrapper() 0x3fd1d25a + 5 bytes [File=c:\users\brian\desktop\unrealengine4.2\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:125] [in C:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Binaries\Win64\UE4Editor-Cmd.exe] MainFrameActions: Packaging (Android): UE4Editor-Cmd: MainFrameActions: Packaging (Android): UE4Editor-Cmd: WinMain() 0x3fd29119 + 17 bytes [File=c:\users\brian\desktop\unrealengine4.2\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:207] [in C:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Binaries\Win64\UE4Editor-Cmd.exe] MainFrameActions: Packaging (Android): UE4Editor-Cmd: MainFrameActions: Packaging (Android): UE4Editor-Cmd: __tmainCRTStartup() 0x3fd29b59 + 21 bytes [File=f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618] [in C:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Binaries\Win64\UE4Editor-Cmd.exe] MainFrameActions: Packaging (Android): UE4Editor-Cmd: MainFrameActions: Packaging (Android): UE4Editor-Cmd: Address = 0x776d59ed (filename not found) [in C:\Windows\system32\kernel32.dll] MainFrameActions: Packaging (Android): UE4Editor-Cmd: MainFrameActions: Packaging (Android): UE4Editor-Cmd: Address = 0x7780c541 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll] MainFrameActions: Packaging (Android): UE4Editor-Cmd: MainFrameActions: Packaging (Android): UE4Editor-Cmd: Address = 0x7780c541 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll] MainFrameActions: Packaging (Android): UE4Editor-Cmd: MainFrameActions: Packaging (Android): UE4Editor-Cmd: MainFrameActions: Packaging (Android): UE4Editor-Cmd: [2014.07.15-13.22.45:586][ 0]LogExit: Executing StaticShutdownAfterError MainFrameActions: Packaging (Android): UE4Editor-Cmd: [2014.07.15-13.23.26:855][ 0]LogWindows: FPlatformMisc::RequestExit(1) MainFrameActions: Packaging (Android): CommandUtils.Run: Run: Took 8421.618689s to run UE4Editor-Cmd.exe MainFrameActions: Packaging (Android): Project.Cook: Cook failed. Deleting cooked data. MainFrameActions: Packaging (Android): BuildCommand.Execute: ERROR: BUILD FAILED MainFrameActions: Packaging (Android): Program.Main: ERROR: AutomationTool terminated with exception: MainFrameActions: Packaging (Android): Program.Main: ERROR: Exception in AutomationScripts.Automation: BUILD FAILED: Failed while running Cook for C:\Users\Brian\Desktop\UnrealEngine4.2\Shooter Game 4.2\ShooterGame.uproject; see log C:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Pro MainFrameActions: Packaging (Android): grams\AutomationTool\Saved\Logs\Cook.txt MainFrameActions: Packaging (Android): Stacktrace: at Project.Cook(ProjectParams Params) in c:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 97 MainFrameActions: Packaging (Android): at BuildCookRun.DoBuildCookRun(ProjectParams Params) in c:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 236 MainFrameActions: Packaging (Android): at BuildCommand.Execute() in c:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Source\Programs\AutomationTool\BuildCommand.cs:line 37 MainFrameActions: Packaging (Android): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) in c:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Source\Programs\AutomationTool\Automation.cs:line 362 MainFrameActions: Packaging (Android): at AutomationTool.Automation.Process(String[] CommandLine) in c:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Source\Programs\AutomationTool\Automation.cs:line 330 MainFrameActions: Packaging (Android): at AutomationTool.Program.MainProc(Object Param) in c:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:line 98 MainFrameActions: Packaging (Android): at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) in c:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Source\Programs\AutomationTool\Utils.cs:line 610 MainFrameActions: Packaging (Android): at AutomationTool.Program.Main() in c:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:line 50 MainFrameActions: Packaging (Android): Program.Main: ERROR: BUILD FAILED: Failed while running Cook for C:\Users\Brian\Desktop\UnrealEngine4.2\Shooter Game 4.2\ShooterGame.uproject; see log C:\Users\Brian\Desktop\UnrealEngine4.2\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\Cook.txt MainFrameActions: Packaging (Android): ProcessManager.KillAll: Trying to kill 0 spawned processes. MainFrameActions: Packaging (Android): Program.Main: AutomationTool exiting with ExitCode=1 MainFrameActions: Packaging (Android): Domain_ProcessExit MainFrameActions: Packaging (Android): ProcessManager.KillAll: Trying to kill 0 spawned processes. MainFrameActions: Packaging (Android): AutomationToolLauncher exiting with ExitCode=1 MainFrameActions: Packaging (Android): copying UAT log files... MainFrameActions: Packaging (Android): RunUAT.bat ERROR: AutomationTool was unable to run successfully. MainFrameActions: Packaging (Android): BUILD FAILED

So basically for the past couple of days ive been trying to package a game for android and end up getting that AutomationTool message. Ive done various suggestions such as changing the build thing to development android and more. Eventually i reinstalled VS which caused my Windows Packaging to work but not Android. When i took more of a look at the log above and another one, apparently AutomationTool fails from not being able to read ntdll.dll and kernel32.dll and kernelbase.dll. I went into the system32 folder and edited the three files to make sure that my account had permission to read, write, etc from the files. I also restarted the computer and ran the engine as a administrator. Upon trying again, it failed. I do not know what to do now. It seems fine to package for Windows but i also want to package for android too.

Product Version: Not Selected
Tags:
more ▼

asked Jul 17 '14 at 05:35 AM in Packaging & Deployment

avatar image

Twrmois
21 2 3 5

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

1 answer: sort voted first

Nvm, i fixed it, it seems to build if i select Android (ATC) Only problem im having now is the force closing of the ShooterGame project.

more ▼

answered Jul 28 '14 at 05:41 PM

avatar image

Twrmois
21 2 3 5

(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