# Android Build Failed, Unknown Error: 4.26

**URL:** <https://forums.unrealengine.com/t/android-build-failed-unknown-error-4-26/476676>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, UE4-26, UE4, question\
**Created:** [January 2, 2021, 3:13pm UTC](https://forums.unrealengine.com/t/android-build-failed-unknown-error-4-26/476676 "2021-01-02T15:13:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Logz\_123](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Logz\_123](https://forums.unrealengine.com/u/Logz_123)\
**Post date:** [January 2, 2021, 3:13pm UTC](https://forums.unrealengine.com/t/android-build-failed-unknown-error-4-26/476676/1 "2021-01-02T15:13:40Z")

</div>

Whenever I try to package my unreal engine project to android astc it says packaging failed and gives me  
: Error: cmd.exe failed with args /c “D:\ue4projects\BreachAndBlast\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug

I looked around on answer hub and one of the solutions posted was unchecking “use gradle instead of ant” but I can’t find this option is unreal engine 4.26

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b227f6b31](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b227f6b31](https://forums.unrealengine.com/u/anonymous_user_b227f6b31)\
**Post date:** [January 11, 2021, 1:01pm UTC](https://forums.unrealengine.com/t/android-build-failed-unknown-error-4-26/476676/2 "2021-01-11T13:01:04Z")

</div>

You can simply delete the folder “D:\ue4projects\BreachAndBlast\Intermediate\Android” then recompile it will work, but it will happend later again ^^
