Announcement

Collapse
No announcement yet.

Getting error when building for Android ......using unreal engine 4.8.1

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting error when building for Android ......using unreal engine 4.8.1

    Hello......I am getting this error ........................I downloaded properly and in android SDK I gave them proper path but when I am building it its giving me given below error ...can anyone tell how I can solve this problem????

    BUILD FAILED
    MainFrameActions: Packaging (Android (ETC1)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:720: The following error occurred while executing this line:
    MainFrameActions: Packaging (Android (ETC1)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.
    MainFrameActions: Packaging (Android (ETC1)): Total time: 12 seconds
    MainFrameActions: Packaging (Android (ETC1)): BuildCommand.Execute: ERROR: BUILD FAILED
    MainFrameActions: Packaging (Android (ETC1)): Program.Main: ERROR: AutomationTool terminated with exception:
    MainFrameActions: Packaging (Android (ETC1)): Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: cmd.exe failed with args /c "C:/NVPACK/apache-ant-1.8.2/bin/ant.bat" debug
    MainFrameActions: Packaging (Android (ETC1)): Stacktrace: at UnrealBuildTool.Android.UEDeployAndroid.RunCommandLineProgramAndThrowOnError(String WorkingDirectory, St
    MainFrameActions: Packaging (Android (ETC1)): ring Command, String Params, String OverrideDesc, Boolean bUseShellExecute)
    MainFrameActions: Packaging (Android (ETC1)): at UnrealBuildTool.Android.UEDeployAndroid.MakeApk(String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk)
    MainFrameActions: Packaging (Android (ETC1)): at UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy(String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
    MainFrameActions: Packaging (Android (ETC1)): at AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL)
    MainFrameActions: Packaging (Android (ETC1)): at Project.Package(ProjectParams Params, Int32 WorkingCL)
    MainFrameActions: Packaging (Android (ETC1)): at BuildCookRun.DoBuildCookRun(ProjectParams Params)
    MainFrameActions: Packaging (Android (ETC1)): at BuildCommand.Execute()
    MainFrameActions: Packaging (Android (ETC1)): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
    MainFrameActions: Packaging (Android (ETC1)): at AutomationTool.Automation.Process(String[] CommandLine)
    MainFrameActions: Packaging (Android (ETC1)): at AutomationTool.Program.MainProc(Object Param)
    MainFrameActions: Packaging (Android (ETC1)): at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
    MainFrameActions: Packaging (Android (ETC1)): at AutomationTool.Program.Main()
    MainFrameActions: Packaging (Android (ETC1)): Program.Main: ERROR: ERROR: cmd.exe failed with args /c "C:/NVPACK/apache-ant-1.8.2/bin/ant.bat" debug
    MainFrameActions: Packaging (Android (ETC1)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
    MainFrameActions: Packaging (Android (ETC1)): Program.Main: AutomationTool exiting with ExitCode=1
    MainFrameActions: Packaging (Android (ETC1)): Domain_ProcessExit
    MainFrameActions: Packaging (Android (ETC1)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
    MainFrameActions: Packaging (Android (ETC1)): copying UAT log files...
    MainFrameActions: Packaging (Android (ETC1)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
    MainFrameActions: Packaging (Android (ETC1)): BUILD FAILED

  • replied
    It isn't nice to not post a solution when you have one.

    Leave a comment:


  • replied
    What did you do to fix it?

    Leave a comment:


  • replied
    What did you do to fix it?

    Leave a comment:


  • replied
    problem solved \m/ it was soooo simple and I was fighting with this from last 5 days

    Leave a comment:


  • replied
    got again same error with tappy chiken project ..............here it is

    UnrealBuildTool.Android.UEDeployAndroid.GetSdkApiLevel()
    MainFrameActions: Packaging (Android (ETC1)): at UnrealBuildTool.Android.UEDeployAndroid.GetAllBuildSettings(String BuildPath, Boolean bForDistribution, Boolean bMakeSeparateApks, Boolean bPackageDataInsideApk, Boolean bDisableVerifyOBBOnStartUp)
    MainFrameActions: Packaging (Android (ETC1)): at UnrealBuildTool.Android.UEDeployAndroid.MakeApk(String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk)
    MainFrameActions: Packaging (Android (ETC1)): at UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy(String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
    MainFrameActions: Packaging (Android (ETC1)): at AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL)
    MainFrameActions: Packaging (Android (ETC1)): at Project.Package(ProjectParams Params, Int32 WorkingCL)
    MainFrameActions: Packaging (Android (ETC1)): at BuildCookRun.DoBuildCookRun(ProjectParams Params)
    MainFrameActions: Packaging (Android (ETC1)): at BuildCommand.Execute()
    MainFrameActions: Packaging (Android (ETC1)): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
    MainFrameActions: Packaging (Android (ETC1)): at AutomationTool.Automation.Process(String[] CommandLine)
    MainFrameActions: Packaging (Android (ETC1)): at AutomationTool.Program.MainProc(Object Param)
    MainFrameActions: Packaging (Android (ETC1)): at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
    MainFrameActions: Packaging (Android (ETC1)): at AutomationTool.Program.Main()
    MainFrameActions: Packaging (Android (ETC1)): Program.Main: ERROR: The system cannot find the file specified
    MainFrameActions: Packaging (Android (ETC1)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
    MainFrameActions: Packaging (Android (ETC1)): Program.Main: AutomationTool exiting with ExitCode=1
    MainFrameActions: Packaging (Android (ETC1)): Domain_ProcessExit
    MainFrameActions: Packaging (Android (ETC1)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
    MainFrameActions: Packaging (Android (ETC1)): copying UAT log files...
    MainFrameActions: Packaging (Android (ETC1)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
    MainFrameActions: Packaging (Android (ETC1)): BUILD FAILED


    Should I update anything ?????

    Leave a comment:


  • replied
    Download the Tappy Chicken example project from the launcher, test and see if you can build it for Android, if you can, then there's something in your project that's preventing it from working, you might try making a new project an moving your content over.

    Leave a comment:

Working...
X