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"

Packaging Failed while deploying Android Project

Hi Team,

I am trying to deploy a game on android platform. After clicking the Launch -> Android Support, I'm getting below screen.

pasted1 I've already installed Android SDK and Codeworks for Android 1R4.

Afer clicking File -> Package Project -> Android -> All, I'm getting packaging failed error. The Output.log file has been attachedlink text. Can you please look into the problem and get back with solution?

Regards, Rohit Joshi

Product Version: UE 4.11
Tags:
unnamed.png (80.9 kB)
output.log (274.4 kB)
more ▼

asked Sep 12 '16 at 08:06 PM in Packaging & Deployment

avatar image

Rohit Joshi
1 1 3

avatar image Steve Hardister ♦♦ STAFF Sep 12 '16 at 09:09 PM

Hi Rohit Joshi,

We need some more information in order to resolve this issue:

  1. Are you on a Mac or PC?

  2. Is this a C++ or all Blueprints project?

  3. Are you able to package a blank Third Person Blueprint or C++ Template Project for Android (If not, post the Output log for one of these; Blueprints preferably unless your project is C++).

  4. Post a screenshot of your SDK settings: Project Settings>Platforms>Android SDK

Thanks,

Steve H.

avatar image Rohit Joshi Sep 16 '16 at 04:42 PM

Hi Steve,

Please find the details below.

  1. I am using PC

  2. It is a Blueprint project

  3. am not able to package a blank third person blueprint. Hereby attaching the Output log file. link text

  4. Please find the screenshot of SDK Settings alt text

Thanks, Rohit

output.log (288.5 kB)
android sdk.png (70.4 kB)
avatar image Steve Hardister ♦♦ STAFF Sep 16 '16 at 05:33 PM

Make sure all link all paths:

LinkPaths

From the errors from both logs:

  1. Stacktrace: at AutomationTool.Automation.get_IsBuildMachine()

  2. Program.NoThrow: ERROR: Exception performing nothrow action "Kill All Processes": Exception in AutomationUtils.Automation: Trying to access IsBuildMachine property before it was initialized.

  3. ERROR: AutomationTool terminated with exception: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Unreal Engine 4.11\Engine\Saved\UnrealBuildTool' is denied.

*Make sure you do not have any Anti-Virus preventing Unreal from accessing this path.

Lastly, try packaging Third Person Blueprint Game (for Android) to desktop.

sdk.png (31.0 kB)
avatar image Rohit Joshi Sep 17 '16 at 04:27 PM

I did step mentioned in the screenshot and I tried disabling both antivirus and windows firewall.

I don't have that directory mentioned in the error. I have only upto Engine directory. I don't have Saved\UnrealBuildTool

Please find the latest Output.log file link text

output.log (37.5 kB)
avatar image Steve Hardister ♦♦ STAFF Sep 19 '16 at 06:00 PM

You should have those directories. Please try uninstalling and reinstalling UE4.11 -Make sure to back up your project folder. Also, as highlighted in the image above, make sure to link the NDK and ANT directories.

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

1 answer: sort voted first

Hi Rohit Joshi,

Since we have not heard back from you in a while, we are marking this post "resolved" for tracking purposes. However, if your project still fails to package for Android, please respond and verify that you have linked the NDK and ANT as described and illustrated above and we will continue to investigate.

Thanks,

Steve H.

more ▼

answered Sep 23 '16 at 08:11 PM

(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