Building for android: Xcopy error

Hi, I’m trying to build for Android and getting the error:

UEDeployAndroid.MakeApk: 
MainFrameActions: Packaging (Android (All)): ====2016-07-02 11:32:16====PREPARING NATIVE CODE=================================================================
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.UpdateProjectProperties: 
MainFrameActions: Packaging (Android (All)): ====2016-07-02 11:32:16====UPDATING BUILD CONFIGURATION FILES====================================================
MainFrameActions: Packaging (Android (All)): 'xcopy' is not recognized as an internal or external command,
MainFrameActions: Packaging (Android (All)): operable program or batch file.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): The system cannot find the path specified.
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.RunCommandLineProgramAndThrowOnError: Updating project.properties, local.properties, and build.xml...
MainFrameActions: Packaging (Android (All)): 'xcopy' is not recognized as an internal or external command,
MainFrameActions: Packaging (Android (All)): operable program or batch file.

I have tried starting the editor as an administrator but that didn’t change anything, does anyone know what file cannot find the “xcopy” command so I can add it to the command line?
The build succeeds but it sounds like something that should be very simple to fix once you know what file to edit!

Thanks!

Hey Fred82,

Could you please upload your full output logs as a .txt file? I’d also like to know exactly how you’re setting up your packaging for Android. Did you change any settings? Provide as much information as you’re able to.

Thanks!

Hello Samantha,

Here’s my Output Log:
https://drive.google.com/open?id=0BzgDwH4HzBKxOVc2d1pPcHFPY28

Platforms:
Android - I haven’t changed anything from the default settings.
Android SDK - See image.

I installed the “CodeWorksforAndroid-1R4-windows.exe” for Win64 that followed with the 4.12 release of Unreal Engine 4 with the packages defaulted by the installer.

I hope this helps, would be grateful for any solutions as to what’s going on!

Hey Fred,

I see you’ve stated you’ve already installed CodeWorks but according to your Android screenshot provided, it’s not updated there. For Android NDK it should read Android-NDK-r11e instead of r10e.

Please make sure you check you’ve uninstalled AndroidWorks before installing CodeWorks and that your firewall and antivirus are either disabled or prevent blocking the downloads due to a feature being switched on in the their settings.

Thanks!

Thanks for the information, I’ll make sure to update and install the correct version!

Thank you!