# Android not packaging on 5.8 (Gradle issue)

**URL:** <https://forums.unrealengine.com/t/android-not-packaging-on-5-8-gradle-issue/2851145>\
**Category:** Mobile\
**Tags:** unreal-engine, question\
**Created:** [November 5, 2026, 8:50pm UTC](https://forums.unrealengine.com/t/android-not-packaging-on-5-8-gradle-issue/2851145 "2026-11-05T20:50:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bigfoist](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bigfoist](https://forums.unrealengine.com/u/Bigfoist)\
**Post date:** [November 5, 2026, 8:50pm UTC](https://forums.unrealengine.com/t/android-not-packaging-on-5-8-gradle-issue/2851145/1 "2026-11-05T20:50:51Z")

</div>

Hi Folks

I am trying to package my game in android (Ue5.8) but getting the following error

UATHelper: Error: Packaging (Android (ASTC)): cmd.exe failed with args /c “E:\ProjectName\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug.

I have looked at other posts and have no option to “ **enable grable instead of ant** ” in project settings

I have tried deleting the intermediate folder with no luck and the game packaged fine in 5.7 which as far as I know uses the same sdk versions etc so not sure where to go from here.

Any help will be greatly appreciated as ever!

---

<div class="post-metadata">

**Author:** ![Bigfoist](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bigfoist](https://forums.unrealengine.com/u/Bigfoist)\
**Post date:** [November 6, 2026, 11:00am UTC](https://forums.unrealengine.com/t/android-not-packaging-on-5-8-gradle-issue/2851145/2 "2026-11-06T11:00:20Z")

</div>

Is there anyone out there?

---

<div class="post-metadata">

**Author:** ![Bigfoist](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bigfoist](https://forums.unrealengine.com/u/Bigfoist)\
**Post date:** [November 6, 2026, 12:16pm UTC](https://forums.unrealengine.com/t/android-not-packaging-on-5-8-gradle-issue/2851145/3 "2026-11-06T12:16:57Z")

</div>

So I fixed it… I I tried to build the contents of the E:\ProjectName\Intermediate\Android\arm64\gradle folder in android studio and it informed me that the Gradle version was 8.13 and should be 8.6. I opened the gradle-wrapper.properties file located at E:\ProjectName\Intermediate\Android\arm64\gradle\gradle\wrapper and replaced the line distributionUrl=[https://services.gradle.org/distributions/gradle-8.13-all.zip](https://services.gradle.org/distributions/gradle-8.13-all.zip) with distributionUrl=[https://services.gradle.org/distributions/gradle-8.6-all.zip](https://services.gradle.org/distributions/gradle-8.6-all.zip).

The project has now packaged successfully although strangely when I go back in to that file it still lists the version as 8.13…

Anyway hope this can help someone having the same issue.
