x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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!

Product Version: UE 4.12
Tags:
more ▼

asked Jul 02 '16 at 10:06 AM in Packaging & Deployment

avatar image

Fred82
78 3 3 9

avatar image Samantha Sutton ♦♦ STAFF Jul 06 '16 at 02:29 PM

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!

avatar image Fred82 Jul 07 '16 at 12:54 PM

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. ![alt text][1] [1]: /storage/temp/97482-androidinstall.png

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!

androidinstall.png (49.8 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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!

more ▼

answered Jul 07 '16 at 02:37 PM

avatar image Fred82 Jul 07 '16 at 03:18 PM

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

avatar image Samantha Sutton ♦♦ STAFF Jul 08 '16 at 05:38 PM

Thank you!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question