# Build Failed while running Cook for Android \[4.3\]

**URL:** <https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429>\
**Category:** Mobile\
**Tags:** UE4-3, unreal-engine, packaging-projects, UE4, question\
**Created:** [July 17, 2014, 7:33am UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429 "2014-07-17T07:33:50Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjvm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rjvm/32/1145273_2.png) [@rjvm](https://forums.unrealengine.com/u/rjvm)\
**Post date:** [July 17, 2014, 7:33am UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/1 "2014-07-17T07:33:50Z")

</div>

![10494-failed.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/2/9d270d6bae8cde03febda7311a0628d8dc3901ec.png)

---

<div class="post-metadata">

**Author:** ![rjvm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rjvm/32/1145273_2.png) [@rjvm](https://forums.unrealengine.com/u/rjvm)\
**Post date:** [July 17, 2014, 7:34am UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/2 "2014-07-17T07:34:36Z")

</div>

how to fix this?

---

<div class="post-metadata">

**Author:** ![Stephen\_Ellis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stephen_ellis/32/1210665_2.png) [@Stephen\_Ellis](https://forums.unrealengine.com/u/Stephen_Ellis)\
**Post date:** [July 17, 2014, 5:43pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/3 "2014-07-17T17:43:44Z")

</div>

Hi rjvm,

Sorry to hear that you are having an issue. Does this only occur for your one specific project? Can you make a new project and successfully cook it?

Can you also tell us the exact method you are using to cook?

Thanks

---

<div class="post-metadata">

**Author:** ![rjvm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rjvm/32/1145273_2.png) [@rjvm](https://forums.unrealengine.com/u/rjvm)\
**Post date:** [July 17, 2014, 8:26pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/4 "2014-07-17T20:26:32Z")

</div>

1 YES IN MY PROJECT  
2 package for android  
3 is only with my project

---

<div class="post-metadata">

**Author:** ![rjvm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rjvm/32/1145273_2.png) [@rjvm](https://forums.unrealengine.com/u/rjvm)\
**Post date:** [July 17, 2014, 8:28pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/5 "2014-07-17T20:28:44Z")

</div>

in version 4.2 this does not happen

---

<div class="post-metadata">

**Author:** ![rjvm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rjvm/32/1145273_2.png) [@rjvm](https://forums.unrealengine.com/u/rjvm)\
**Post date:** [July 18, 2014, 6:27am UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/6 "2014-07-18T06:27:40Z")

</div>

1 YES IN MY PROJECT  
2 package for android  
3 is only with my project

---

<div class="post-metadata">

**Author:** ![Stephen\_Ellis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stephen_ellis/32/1210665_2.png) [@Stephen\_Ellis](https://forums.unrealengine.com/u/Stephen_Ellis)\
**Post date:** [July 18, 2014, 4:20pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/7 "2014-07-18T16:20:37Z")

</div>

After this failure occurs, please find the **Cook.txt** and **UAT\_Log.txt** files located in:

> C:\Users\UserName\AppData\Roaming\Unreal Engine\AutomationTool\Logs\

Attach these logs to your reply.

Can you also please try packaging your project for Windows to see if that works?

Thank you.

---

<div class="post-metadata">

**Author:** ![rjvm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rjvm/32/1145273_2.png) [@rjvm](https://forums.unrealengine.com/u/rjvm)\
**Post date:** [July 18, 2014, 4:22pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/8 "2014-07-18T16:22:29Z")

</div>

windows dont work  
is the same build failed

---

<div class="post-metadata">

**Author:** ![rjvm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rjvm/32/1145273_2.png) [@rjvm](https://forums.unrealengine.com/u/rjvm)\
**Post date:** [July 18, 2014, 4:26pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/9 "2014-07-18T16:26:03Z")

</div>

link text

---

<div class="post-metadata">

**Author:** ![deusduke\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@deusduke\_1](https://forums.unrealengine.com/u/deusduke_1)\
**Post date:** [July 19, 2014, 8:43pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/10 "2014-07-19T20:43:09Z")

</div>

I am running into the same issue on Windows, cook fails for both Android and Windows packaging:

link text

link text

---

<div class="post-metadata">

**Author:** ![MistaShoes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MistaShoes](https://forums.unrealengine.com/u/MistaShoes)\
**Post date:** [July 20, 2014, 2:52pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/11 "2014-07-20T14:52:35Z")

</div>

Hi,

I’m having the same issue as well Windows fails. I’ve posted on a thread here. [4.3 packaging fail - default server game mode is set - Platform & Builds - Unreal Engine Forums](https://answers.unrealengine.com/questions/71683/43-packaging-fail.html)

---

<div class="post-metadata">

**Author:** ![rjvm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rjvm/32/1145273_2.png) [@rjvm](https://forums.unrealengine.com/u/rjvm)\
**Post date:** [July 22, 2014, 2:54am UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/12 "2014-07-22T02:54:39Z")

</div>

![10871-errror.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/5/9e5e1b719d3060c28533d7a13c5dddbb873f030d.jpeg)

---

<div class="post-metadata">

**Author:** ![Stephen\_Ellis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stephen_ellis/32/1210665_2.png) [@Stephen\_Ellis](https://forums.unrealengine.com/u/Stephen_Ellis)\
**Post date:** [July 22, 2014, 7:44pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/13 "2014-07-22T19:44:43Z")

</div>

@rjvm

Thank you for providing the logs. This appears to stem from a content issue with textures:

[0]LogWindows: Assertion failed: (TextureWidth \> 0) && (TextureHeight \> 0) [File:D:\BuildFarm\buildmachine\_++depot+UE4-Releases+4.3\Engine\Plugins\Experimental\Paper2D\Source\Paper2D\Private\PaperSprite.cpp] [Line: 586]

Our engineers are currently discussing the possible reasons for this.

---

<div class="post-metadata">

**Author:** ![Stephen\_Ellis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stephen_ellis/32/1210665_2.png) [@Stephen\_Ellis](https://forums.unrealengine.com/u/Stephen_Ellis)\
**Post date:** [July 22, 2014, 8:16pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/14 "2014-07-22T20:16:12Z")

</div>

@anonymous_user_4faab6dc

From your logs, you will see that you are experiencing a different issue than rjvm.

Please try the solution recommended here:

> **[Android packaging problem with UE 4.3](https://forums.unrealengine.com/questions/71502/android-packaging-problem-with-ue-43.html)**
>
> Hey guys. Do you have some idea why is this problem with packaing in cook.txt? \[2014.07.18-18.52.09:460\]\[0\]LogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: ‘None’ is not a standard unreal filename or a long path name. Reason: Path...

If the problem persists, please make a new post for your issue.

Thanks

---

<div class="post-metadata">

**Author:** ![Stephen\_Ellis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stephen_ellis/32/1210665_2.png) [@Stephen\_Ellis](https://forums.unrealengine.com/u/Stephen_Ellis)\
**Post date:** [July 22, 2014, 9:53pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/15 "2014-07-22T21:53:59Z")

</div>

@rjvm

Please try manually re-saving your sprites in the editor before you attempt to cook and package.

Let us know if this helps.

---

<div class="post-metadata">

**Author:** ![rjvm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rjvm/32/1145273_2.png) [@rjvm](https://forums.unrealengine.com/u/rjvm)\
**Post date:** [July 22, 2014, 10:50pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/16 "2014-07-22T22:50:49Z")

</div>

THANK YOU FOR EVERYTHING! 🙂

 ![10935-good!!.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/f/50fb79cf795cb408a1ff614dd66c485be4ffdf25.jpeg)

---

<div class="post-metadata">

**Author:** ![Stephen\_Ellis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stephen_ellis/32/1210665_2.png) [@Stephen\_Ellis](https://forums.unrealengine.com/u/Stephen_Ellis)\
**Post date:** [July 23, 2014, 9:03pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/17 "2014-07-23T21:03:46Z")

</div>

Glad to hear this worked for you. There is a problem which we have just made a fix for which will be included in a future release. The workaround is to just re-save your texture in the editor to force them to update.

Cheers!

---

<div class="post-metadata">

**Author:** ![DrThresh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrThresh](https://forums.unrealengine.com/u/DrThresh)\
**Post date:** [August 6, 2014, 8:09am UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/18 "2014-08-06T08:09:10Z")

</div>

Hi,

I’m having similar issues with repackaging for Windows 64bit on UE4.3.0. I was testing using a new Vehicle Game project, changing nothing aside from the name. It comes up with a Build failure when attempting a repackage. Assistance would be appreciated.

---

<div class="post-metadata">

**Author:** ![Stephen\_Ellis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stephen_ellis/32/1210665_2.png) [@Stephen\_Ellis](https://forums.unrealengine.com/u/Stephen_Ellis)\
**Post date:** [August 13, 2014, 6:20pm UTC](https://forums.unrealengine.com/t/build-failed-while-running-cook-for-android-4-3/288429/19 "2014-08-13T18:20:11Z")

</div>

Hi DrThresh,

Apologies for the late reply on this. Although a packaging issue, the details of your scenario are different than either rjvm or deusduke. If the issue is still occurring for you, please make a new AnswerHub report.

Some other details that would be helpful for us to know is whether it is a code or blueprint project.

Thanks
