Announcement

Collapse
No announcement yet.

Packaging or launching fails everytime

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

    Packaging or launching fails everytime

    Hi Everyone
    This is my first time asking for help in here and i am quite a beginner with Android in Unreal, and i did a simple 1 level game that i can pack for HTML5/Windows except for Android and getting this error :
    Code:
    LogPlayLevel: ====10/29/2016 1:32:47 PM====PERFORMING FINAL APK PACKAGE OPERATION================================================
    LogPlayLevel: UEDeployAndroid.RunCommandLineProgramAndReturnError: Making .apk with Ant... (note: it's safe to ignore javac obsolete warnings)
    LogPlayLevel: Buildfile: build.xml does not exist!
    LogPlayLevel: Build failed
    LogPlayLevel: UEDeployAndroid.RunCommandLineProgramAndReturnError: Making .apk with Ant again to show errors
    LogPlayLevel: Buildfile: build.xml does not exist!
    LogPlayLevel: Build failed
    LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'H:\Flying_Test1\Intermediate/Android/APK/bin/Flying_Test1-debug.apk'.
    LogPlayLevel:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
    LogPlayLevel:    at UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk)
    LogPlayLevel:    at UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
    LogPlayLevel:    at AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC)
    LogPlayLevel:    at Project.Deploy(ProjectParams Params)
    LogPlayLevel:    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
    LogPlayLevel:    at AutomationTool.BuildCommand.Execute()
    LogPlayLevel:    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
    LogPlayLevel:    at AutomationTool.Automation.Process(String[] CommandLine)
    LogPlayLevel:    at AutomationTool.Program.MainProc(Object Param)
    LogPlayLevel:    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
    LogPlayLevel:    at AutomationTool.Program.Main()
    LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
    LogPlayLevel: Domain_ProcessExit
    LogPlayLevel: copying UAT log files...
    LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 3.750432
    LogPlayLevel: BUILD FAILED
    Even i tried every thread/tutorial/website to solve this problem i am still getting this error

    and this are my Android SDK paths:
    Click image for larger version

Name:	SDK.PNG
Views:	1
Size:	68.0 KB
ID:	1199578

    Any help will be much appreciated, and thanks again

    #2
    Try changing NDK API Level to android-19.

    Comment


      #3
      What version are you using?

      Comment

      Working...
      X