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,

Hi ,

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,

.

Hi ,

Please find the details below.

  1. I am using PC

  2. It is a Blueprint project

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

  1. Please find the screenshot of SDK Settings

Thanks,
Rohit

Make sure all link all paths:

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.

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

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.

Hi ,

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,

.