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 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 ,

Here’s my Output Log:
https://drive…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 ,

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.

  • [Unreal Engine 4: Android Quick Start][1]
  • [Nvidia CodeWorks for Android][2]
  • [Nvidia Download Center][3]

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!

Setting Up Unreal Engine Projects for Android Development | Unreal Engine 5.1 Documentation
[2]: Game Development Tools, SDKs, and Partner Engines | NVIDIA Developer
[3]: Gameworks Download Center | NVIDIA Developer

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

Thank you!