# Packaging fail only with 'For Distribution'

**URL:** <https://forums.unrealengine.com/t/packaging-fail-only-with-for-distribution/79337>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [November 28, 2016, 9:59am UTC](https://forums.unrealengine.com/t/packaging-fail-only-with-for-distribution/79337 "2016-11-28T09:59:08Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kymlands](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kymlands](https://forums.unrealengine.com/u/Kymlands)\
**Post date:** [November 28, 2016, 9:59am UTC](https://forums.unrealengine.com/t/packaging-fail-only-with-for-distribution/79337/1 "2016-11-28T09:59:08Z")

</div>

Hi people,

I’m able to successfully package my project in ‘ **Development** ’ and in ‘ **Shipping** ’, but as soon as I turn ON the option ‘ **For Distribution** ’ I get an Error Unknown Error.  
Do you have some clues about this issue?

Thanks for your help.

**The log is linked to this thread.**

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_27ad1de6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_27ad1de6](https://forums.unrealengine.com/u/anonymous_user_27ad1de6)\
**Post date:** [November 28, 2016, 3:00pm UTC](https://forums.unrealengine.com/t/packaging-fail-only-with-for-distribution/79337/2 "2016-11-28T15:00:32Z")

</div>

migrate the project and try to package again with default settings except the game default map and input (if you have extra inputs), then let me know if it success or not.

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [November 28, 2016, 8:15pm UTC](https://forums.unrealengine.com/t/packaging-fail-only-with-for-distribution/79337/3 "2016-11-28T20:15:39Z")

</div>

From the log: “ERROR: DistributionSigning settings are not all set. Check the DistributionSettings section in the Andriod tab of Project Settings”

You need to put your keystore file in the project’s Build/Android directory and fill in the information in the project settings with the alias and password.

---

<div class="post-metadata">

**Author:** ![Kymlands](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kymlands](https://forums.unrealengine.com/u/Kymlands)\
**Post date:** [December 4, 2016, 3:17pm UTC](https://forums.unrealengine.com/t/packaging-fail-only-with-for-distribution/79337/4 "2016-12-04T15:17:58Z")

</div>

THX for the tips, I let you know as soon as I’ve tried.

---

<div class="post-metadata">

**Author:** ![Kymlands](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kymlands](https://forums.unrealengine.com/u/Kymlands)\
**Post date:** [February 12, 2017, 12:02pm UTC](https://forums.unrealengine.com/t/packaging-fail-only-with-for-distribution/79337/5 "2017-02-12T12:02:16Z")

</div>

Your advice as allowed me to solve the distribution signing issue problem. THX, but the packing still fail for distribution.  
Those two pages have been also really helpful.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

[https://docs.unrealengine.com/latest/INT/Platforms/Android/DistributionSigning/](https://docs.unrealengine.com/latest/INT/Platforms/Android/DistributionSigning/)

---

<div class="post-metadata">

**Author:** ![Kymlands](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kymlands](https://forums.unrealengine.com/u/Kymlands)\
**Post date:** [February 13, 2017, 10:11pm UTC](https://forums.unrealengine.com/t/packaging-fail-only-with-for-distribution/79337/6 "2017-02-13T22:11:12Z")

</div>

Even after to have solved the previous issue about (DistributionSigning settings) I’ve still get an **PackagingResults:Error: Error Unknown Error**

I’ve attached the latest log to this reply. If anyone can double check? THX again.

---

<div class="post-metadata">

**Author:** ![Kymlands](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kymlands](https://forums.unrealengine.com/u/Kymlands)\
**Post date:** [February 14, 2017, 8:50pm UTC](https://forums.unrealengine.com/t/packaging-fail-only-with-for-distribution/79337/7 "2017-02-14T20:50:50Z")

</div>

I’ve tried to re install the entire project in a NewProject from the latest version ( **1.14.3** ) but I get the same issue.

**The Keystore is at the right location.**  
 ![5df7fa36c8f1c1b4daf7f5d1f266d76784a337cf.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

**The Distribution signing seems OK.**  
 ![56b3e36f9d5f1990be80da8c72a87edf2ef9fcec.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [February 15, 2017, 9:22pm UTC](https://forums.unrealengine.com/t/packaging-fail-only-with-for-distribution/79337/8 "2017-02-15T21:22:18Z")

</div>

Here is the error:

G:\Softwares\NVPACK\android-sdk-windows ools\ant\build.xml:871: Can’t read [G:\Softwares\NVPACK\android-sdk-windows\platforms\android-24\android.jar] (Can’t process class [dalvik/annotation/TestTargetClass.class] (Unsupported class version number [52.0] (maximum 51.0, Java 1.7)))

This is caused by too old a version of Proguard for Android 24. Looks like the version (4.7) in the CodeWorks for Android is the issue. Grabbing Proguard 5.2.1 zip from here: [https://sourceforge.net/projects/proguard/files/proguard/5.2/](https://sourceforge.net/projects/proguard/files/proguard/5.2/) and replacing the jar files in NVPACK\android-sdk-windows ools\proguard\lib with the ones from the proguard5.2.1.zip should fix this.

---

<div class="post-metadata">

**Author:** ![Kymlands](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kymlands](https://forums.unrealengine.com/u/Kymlands)\
**Post date:** [February 15, 2017, 9:22pm UTC](https://forums.unrealengine.com/t/packaging-fail-only-with-for-distribution/79337/9 "2017-02-15T21:22:18Z")

</div>

Thanks a lot Chris,  
You have solved my issue. I really appreciate.
