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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Deploying to Android (ERROR: Exception in mscorlib: Illegal characters in path)

I've been setting up a source version of 4.9.0.P4. Everything's generally going OK, but I'm seeing a weird error when deploying to Android AND using custom source code.

 LogPlayLevel: BuildCommand.Execute: ERROR: BUILD FAILED
 LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception:
 LogPlayLevel: Program.Main: ERROR: Exception in mscorlib: Illegal characters in path.

(I've attached the entire log too)

I can deploy to Android without problems if I get rid of all of the source and just deploy it as a content-only project. But if I take the same project, add source code, delete intermediate/saved folders from the project folder, compile Android->Development/Android->Development Client, and deploy again: Nothing. I'll always get that error.

I feel like I might be missing an Android binary, or something, but I don't know what, so I wanted to double check the steps I've taken so far to get to this point:

  1. Cloned UE4 via GitHub.

  2. Checked out the 4.9.0.P4 Sha.

  3. Ran setup.bat.

  4. Generated project files.

  5. Compiled Win64->Development Editor.

  6. Compiled Android->Development.

  7. Compiled Android->Development Client.

  8. Switched to custom engine for our project.

  9. Generated project files for our project.

  10. Built Win64->Development Editor for our project

  11. Built Android->Development Client for our project

  12. Cleared Intermediate/Saved from our project folder.

  13. Deployed to Android (failed).

Again, if at this point I were to remove the source folder, delete the module from the .uproject, delete intermediate/saved and deploy, it'll work fine!

Note: I also uninstalled all of the Nvidia/android tools from 4.8 and installed AndroidWorks-1R1-windows.exe (located in Engine/Extra/Android) with a standard install, then updated the SDK manager and installed everything in the 'tools' folder.

I've googled that error and mostly (in regards to UE4 it seems to be related to an incorrect Android SDK - notably a preview one. I definitely don't have any of those installed). And I've looked for a list of different things that need to be compiled in order to deploy with both the source engine and custom native code, but couldn't find one (if there is one, it would be extremely useful as a checklist).

Any help would be appreciated.

link text

Product Version: UE 4.9 Preview
more ▼

asked Aug 28 '15 at 11:20 AM in Packaging & Deployment

avatar image

369 10 79 33

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I never managed to solve this issue. Before I got there 4.9.0 was released and I decided to switch to that and try again. Everything's working fine now.

more ▼

answered Sep 03 '15 at 05:05 PM

avatar image

369 10 79 33

(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