# Android Packaging Gradle Error?

**URL:** <https://forums.unrealengine.com/t/android-packaging-gradle-error/478505>\
**Category:** Mobile\
**Tags:** gradle, unreal-engine, Android, error-2, question\
**Created:** [February 9, 2021, 12:40pm UTC](https://forums.unrealengine.com/t/android-packaging-gradle-error/478505 "2021-02-09T12:40:01Z")\
**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, 12:40pm UTC](https://forums.unrealengine.com/t/android-packaging-gradle-error/478505/1 "2021-02-09T12:40:01Z")

</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:** ![ooghe](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ooghe/32/765288_2.png) [@ooghe](https://forums.unrealengine.com/u/ooghe)\
**Post date:** [March 22, 2021, 10:08pm UTC](https://forums.unrealengine.com/t/android-packaging-gradle-error/478505/2 "2021-03-22T22:08:06Z")

</div>

Did you ever figure this out? I’m getting the same error:

> FAILURE: Build failed with an  
> exception. \* What went wrong:  
> Execution failed for task  
> ‘:app:packageDebug’. A failure  
> occurred while executing  
> com.android.build.gradle.internal.tasks.Workers$ActionFacade  
> Entry name  
> ‘META-INF/android.arch.lifecycle\_extensions.version’  
> collided Try: 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. Get more help at  
> [https://help.gradle.org](https://help.gradle.org) BUILD FAILED  
> in 1m 53s

Oddly, this Build _had_ succeeded earlier today. The only changes of which i am aware, are that I had attempted the build on the _Epic’s_ UE 4.26.1, instead of the _GitHub_ Oculus’s UE 4.26.0 (which had been the initial success), and now a new build on Githubs Oculus UE 4.26.0 throws the same error. I will revert the project and see if that works.

---

<div class="post-metadata">

**Author:** ![ooghe](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ooghe/32/765288_2.png) [@ooghe](https://forums.unrealengine.com/u/ooghe)\
**Post date:** [March 22, 2021, 10:39pm UTC](https://forums.unrealengine.com/t/android-packaging-gradle-error/478505/3 "2021-03-22T22:39:23Z")

</div>

FWIW, reverting worked. So, a possible (broad) answer here is do not use other than the GitHub Oculus build (if that’s what your device is)
