今天想把做的Demo打包成安卓的。搞了半天都是下面的错误。
最后才在其他论坛找到原因是打开了Substance插件,将其关闭就可以正常打包!
这发一个,希望有类似问题的朋友。可以解决
MainFrameActions: 打包 (Android (ETC1)): Running AutomationTool...
MainFrameActions: 打包 (Android (ETC1)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=D:/UEProjects/0MyUE/a123/a123.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=D:/UEProjects/0MyUE/a123/a123.uproject -cook -stage -archive -archivedirectory=C
MainFrameActions: 打包 (Android (ETC1)): :/Users/Administrator/Desktop -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -nodebuginfo -targetplatform=Android -cookflavor=ETC1 -build -CrashReporter -utf8output
MainFrameActions: 打包 (Android (ETC1)): Automation.Process: Setting up command environment.
MainFrameActions: 打包 (Android (ETC1)): BuildCookRun.SetupParams: Setting up ProjectParams for D:\UEProjects\0MyUE\a123\a123.uproject
MainFrameActions: 打包 (Android (ETC1)): Project.Build: ********** BUILD COMMAND STARTED **********
MainFrameActions: 打包 (Android (ETC1)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Android Development -remoteini="D:\UEProjects\0MyUE\a123" -noxge -generatemanifest -NoHotReloadFromIDE
MainFrameActions: 打包 (Android (ETC1)): UnrealBuildTool: NDK version: 19, GccVersion: 4.9
MainFrameActions: 打包 (Android (ETC1)): UnrealBuildTool: building WITHOUT VULKAN define
MainFrameActions: 打包 (Android (ETC1)): UnrealBuildTool: ERROR: No modules found to build. All requested binaries were already part of the installed engine data.
MainFrameActions: 打包 (Android (ETC1)): CommandUtils.Run: Run: Took 1.3610779s to run UnrealBuildTool.exe, ExitCode=5
MainFrameActions: 打包 (Android (ETC1)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Android Development -remoteini="D:\UEProjects\0MyUE\a123" -noxge -generatemanifest -NoHotReloadFromIDE.
See logfile for details: 'UnrealBuildTool-2016.11.18-15.39.17.txt'
MainFrameActions: 打包 (Android (ETC1)): 在 AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars)
MainFrameActions: 打包 (Android (ETC1)): 在 AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
MainFrameActions: 打包 (Android (ETC1)): 在 AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars)
MainFrameActions: 打包 (Android (ETC1)): 在 AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictionar
y`2 InTargetToManifest)
MainFrameActions: 打包 (Android (ETC1)): 在 Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
MainFrameActions: 打包 (Android (ETC1)): 在 BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: 打包 (Android (ETC1)): 在 AutomationTool.BuildCommand.Execute()
MainFrameActions: 打包 (Android (ETC1)): 在 AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: 打包 (Android (ETC1)): 在 AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: 打包 (Android (ETC1)): 在 AutomationTool.Program.MainProc(Object Param)
MainFrameActions: 打包 (Android (ETC1)): 在 AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
MainFrameActions: 打包 (Android (ETC1)): 在 AutomationTool.Program.Main()
MainFrameActions: 打包 (Android (ETC1)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
MainFrameActions: 打包 (Android (ETC1)): Domain_ProcessExit
MainFrameActions: 打包 (Android (ETC1)): copying UAT log files...
MainFrameActions: 打包 (Android (ETC1)): BUILD FAILED
PackagingResults:Error: 错误 Unknown Error
|