Hi there guys, i hope that someone could help me out with this. I have set up my ue4 project to develop for android. I have followed the ue4 tutorial on how to package for android as well, i have installed CODEWORKS and made sure evrything is installed i have also made sure that in ue4 android it is showing to the right root as well. I then plug my phone in and try launching it on my device, And i keep getting errors. I have also tried to package the game with no success as well. I have packaged it for windows and it works fine that way. I will Post the Output log with the error. I have also tried to google this issue, but with no actual answer, showing up. I have also cleared the saved folder and still did not work. When i open a new project and try package, it does still not work out.
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramAndReturnResult: 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.RunCommandLineProgramAndReturnResult: 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.FileNotFoundException: Could not find file ‘C:\Users\deegi\Desktop\EndlessRunner\Intermediate/Android/APK/bin/EndlessRunner-debug.apk’.
LogPlayLevel: File name: ‘C:\Users\deegi\Desktop\EndlessRunner\Intermediate/Android/APK/bin/EndlessRunner-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 BuildCookRun.ExecuteBuild()
LogPlayLevel: at AutomationTool.BuildCommand.Execute()
LogPlayLevel: at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary
1 Commands)
LogPlayLevel: at AutomationTool.Automation.Process(String[] Arguments)
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: Completed Launch On Stage: Deploy Task, Time: 40.535103
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Unknown Error