# Android Packaging Build Failed UE4

**URL:** <https://forums.unrealengine.com/t/android-packaging-build-failed-ue4/496265>\
**Category:** Modding\
**Tags:** Packaging-Error, unreal-engine, build-failed, UE4-27, question\
**Created:** [February 9, 2022, 7:48pm UTC](https://forums.unrealengine.com/t/android-packaging-build-failed-ue4/496265 "2022-02-09T19:48:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MegiLynx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MegiLynx](https://forums.unrealengine.com/u/MegiLynx)\
**Post date:** [February 9, 2022, 7:48pm UTC](https://forums.unrealengine.com/t/android-packaging-build-failed-ue4/496265/1 "2022-02-09T19:48:37Z")

</div>

Hello, I’ve been troubleshooting this problem for a few days now, but I have no idea where the fault lies. When I wanted to make a Packaging Project in Android, then after the cooking was finished, it wrote build failed in the console.  
UE 4.27

I will be very happy for any advice, and thank you in advance

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): FAILURE: Build failed with an exception.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \* What went wrong:  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Could not initialize class org.codehaus.groovy.reflection.ReflectionCache  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \* Try:  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 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.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \* Get more help at [https://help.gradle.org](https://help.gradle.org)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED in 3s  
PackagingResults: Error: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “C:\Users\plomi\Documents\Unreal Projects\VR2UE4\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see C:\Users\plomi\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_4.27\Log.txt for full exception trace)  
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: cmd.exe failed with args /c “C:\Users\plomi\Documents\Unreal Projects\VR2UE4\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug  
PackagingResults: Error: Unknown Error
