# Android Packaging Error - Gradle Nightmare - PLEASE HELP

**URL:** <https://forums.unrealengine.com/t/android-packaging-error-gradle-nightmare-please-help/478479>\
**Category:** Mobile\
**Tags:** error, Android-Packaging, gradle, unreal-engine, Android, Packaging, question\
**Created:** [February 9, 2021, 2:31am UTC](https://forums.unrealengine.com/t/android-packaging-error-gradle-nightmare-please-help/478479 "2021-02-09T02:31:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Triple\_Sunsmith](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Triple\_Sunsmith](https://forums.unrealengine.com/u/Triple_Sunsmith)\
**Post date:** [February 9, 2021, 2:31am UTC](https://forums.unrealengine.com/t/android-packaging-error-gradle-nightmare-please-help/478479/1 "2021-02-09T02:31:35Z")

</div>

Hi people please HELP with this one,

Basically, I’m getting an error below when trying to test a game on Android :

ERROR: cmd.exe failed with args /c “C:\Users/…\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug

I tested the same game 2 days ago on my phone and it worked. Then suddenly, just simply stopped with the above error message.

Im using 4.26 version and please see below the rest of the wonderful error messages Im getting when trying to test my game

FAILURE: Build failed with an exception.  
LogPlayLevel: \* What went wrong:  
LogPlayLevel: Execution failed for task ‘:app:packageDebug’.  
LogPlayLevel: \> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade  
LogPlayLevel: \> Entry name ‘META-INF/android.arch.lifecycle\_extensions.version’ collided  
LogPlayLevel: \* Try:  
LogPlayLevel: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.  
LogPlayLevel: \* Get more help at [https://help.gradle.org](https://help.gradle.org)  
LogPlayLevel: BUILD FAILED in 8s

PLEASE HELP WITH THIS

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_89c9ea9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_89c9ea9a](https://forums.unrealengine.com/u/anonymous_user_89c9ea9a)\
**Post date:** [February 20, 2021, 11:40pm UTC](https://forums.unrealengine.com/t/android-packaging-error-gradle-nightmare-please-help/478479/2 "2021-02-20T23:40:01Z")

</div>

For me running UE4 as administrator in Windows always solves the gradle issues. Maybe that will work for you too.

---

<div class="post-metadata">

**Author:** ![Triple\_Sunsmith](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Triple\_Sunsmith](https://forums.unrealengine.com/u/Triple_Sunsmith)\
**Post date:** [February 21, 2021, 8:59pm UTC](https://forums.unrealengine.com/t/android-packaging-error-gradle-nightmare-please-help/478479/3 "2021-02-21T20:59:23Z")

</div>

Hei dude, thanks for the answer.

I’ve sorted it by just deleting the INTERMEDIATE folder and then re-do it and it worked.
