# Android Packaging, Build Failed with "minifyReleaseWithR8" error

**URL:** <https://forums.unrealengine.com/t/android-packaging-build-failed-with-minifyreleasewithr8-error/1779558>\
**Category:** Mobile\
**Tags:** unreal-engine, Packaging, question\
**Created:** [March 30, 2024, 9:51pm UTC](https://forums.unrealengine.com/t/android-packaging-build-failed-with-minifyreleasewithr8-error/1779558 "2024-03-30T21:51:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WVG1217](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WVG1217](https://forums.unrealengine.com/u/WVG1217)\
**Post date:** [March 30, 2024, 9:51pm UTC](https://forums.unrealengine.com/t/android-packaging-build-failed-with-minifyreleasewithr8-error/1779558/1 "2024-03-30T21:51:17Z")

</div>

Hello, I have a Build Failed error with the following message:

Execution failed for task ‘:app:minifyReleaseWithR8’.

 ![Screenshot njk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/f/c8f29ecb090efd3b653e13e5a1239f39df4398c4.png)

Can someone pls help?

---

<div class="post-metadata">

**Author:** ![Origins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Origins](https://forums.unrealengine.com/u/Origins)\
**Post date:** [April 11, 2024, 5:49pm UTC](https://forums.unrealengine.com/t/android-packaging-build-failed-with-minifyreleasewithr8-error/1779558/2 "2024-04-11T17:49:52Z")

</div>

Can you valid these mentioned steps

Did you modify android studio setup after trial of android packaging in UE ?

Did you restarted PC after setup of Android Studio

Environment variables placed in right path ? No duplicates !

Delete .gradle folder and delete intermediate,DDC and binaries folder from project folder

Now package again
