# ANDROID PACKAGING ERROR

**URL:** <https://forums.unrealengine.com/t/android-packaging-error/1145975>\
**Category:** Mobile\
**Tags:** unreal-engine, crash, question\
**Created:** [April 27, 2023, 8:23am UTC](https://forums.unrealengine.com/t/android-packaging-error/1145975 "2023-04-27T08:23:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![WILDKAKA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WILDKAKA](https://forums.unrealengine.com/u/WILDKAKA)\
**Post date:** [April 27, 2023, 8:23am UTC](https://forums.unrealengine.com/t/android-packaging-error/1145975/1 "2023-04-27T08:23:39Z")

</div>

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED in 17s  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “E:\ue project\endless\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Took 22.2851984s to run UnrealBuildTool.exe, ExitCode=6  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): UnrealBuildTool failed. See log for more details. (C:\Users\dasan\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE\_4.26\UBT-endless-Android-Shipping.txt)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=6 (6)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED  
PackagingResults: Error: cmd.exe failed with args /c “E:\ue project\endless\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug  
PackagingResults: Error: Unknown Error

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [April 27, 2023, 8:29am UTC](https://forums.unrealengine.com/t/android-packaging-error/1145975/2 "2023-04-27T08:29:59Z")

</div>

It could be caused by an incorrect or outdated Gradle version, or by missing dependencies in the project. Another possible cause could be a problem with the Android SDK, such as missing or outdated components.

I suggest trying to package a completely blank project, let me know if you get the same errors then.

---

<div class="post-metadata">

**Author:** ![WILDKAKA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WILDKAKA](https://forums.unrealengine.com/u/WILDKAKA)\
**Post date:** [April 27, 2023, 3:23pm UTC](https://forums.unrealengine.com/t/android-packaging-error/1145975/3 "2023-04-27T15:23:44Z")

</div>

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED in 16s  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “E:\ue project\mobiletest\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see C:\Users\dasan\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE\_4.26\Log.txt for full exception trace)  
PackagingResults: Error: cmd.exe failed with args /c “E:\ue project\mobiletest\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error\_Unknown)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED  
PackagingResults: Error: Unknown Error

---

<div class="post-metadata">

**Author:** ![WILDKAKA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WILDKAKA](https://forums.unrealengine.com/u/WILDKAKA)\
**Post date:** [April 27, 2023, 3:26pm UTC](https://forums.unrealengine.com/t/android-packaging-error/1145975/4 "2023-04-27T15:26:14Z")

</div>

![error](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/2/5/e2528ece1ed3e0de4cb9716f90226407e8a275f2.jpeg)

---

<div class="post-metadata">

**Author:** ![WILDKAKA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WILDKAKA](https://forums.unrealengine.com/u/WILDKAKA)\
**Post date:** [April 27, 2023, 6:35pm UTC](https://forums.unrealengine.com/t/android-packaging-error/1145975/5 "2023-04-27T18:35:14Z")

</div>

![error](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/e/78e91a68c91b6ef8b7faff692c1a8e2b98111c6e.jpeg)

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [April 27, 2023, 7:49pm UTC](https://forums.unrealengine.com/t/android-packaging-error/1145975/6 "2023-04-27T19:49:12Z")

</div>

You can’t have spaces in a path.  
This works: **C:\project\123**.  
This doesn’t work: **C:\Unreal Projects\123**.

---

<div class="post-metadata">

**Author:** ![WILDKAKA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WILDKAKA](https://forums.unrealengine.com/u/WILDKAKA)\
**Post date:** [April 28, 2023, 9:41am UTC](https://forums.unrealengine.com/t/android-packaging-error/1145975/8 "2023-04-28T09:41:23Z")

</div>

![error](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/b/70bf17ad13197be3fa12ccdcbba42ab17fb5bd28.jpeg)

---

<div class="post-metadata">

**Author:** ![WILDKAKA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WILDKAKA](https://forums.unrealengine.com/u/WILDKAKA)\
**Post date:** [April 28, 2023, 9:47am UTC](https://forums.unrealengine.com/t/android-packaging-error/1145975/10 "2023-04-28T09:47:16Z")

</div>

![error2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/2/a8249b73ef225e89f4ad6cb41110c8e13831ea35.jpeg)

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [April 28, 2023, 1:40pm UTC](https://forums.unrealengine.com/t/android-packaging-error/1145975/11 "2023-04-28T13:40:08Z")

</div>

Yeah, the installation process is a bit strange at times. I had to change the .bat script to fit the proper path in my example.

If it says that it can’t find files, then you probably should reinstall it.

I think you already have access to this, and have read it, but in any case: [Android Game Development | Unreal Engine 4.27 Documentation](https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Mobile/Android/)

This is a good tutorial: [Installing & Building to Android (AR, VR, Mobile) UE5 | Unreal Engine 5 - YouTube](https://www.youtube.com/watch?v=B0tD1aidPQE). There were some changes done with Android between versions, so I suggest you try to install the latest Unreal Engine version before you continue.

Is there a particular reason for why you are using 4.26? 🙂

---

<div class="post-metadata">

**Author:** ![WILDKAKA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WILDKAKA](https://forums.unrealengine.com/u/WILDKAKA)\
**Post date:** [April 28, 2023, 2:00pm UTC](https://forums.unrealengine.com/t/android-packaging-error/1145975/12 "2023-04-28T14:00:37Z")

</div>

low configuration… money problem 😂 thank you 🙂
