# Android Build Not Working

**URL:** <https://forums.unrealengine.com/t/android-build-not-working/607248>\
**Category:** Platform & Builds\
**Tags:** Android-Studio, unreal-engine, Android, Packaging, UE4-27\
**Created:** [July 18, 2022, 2:45am UTC](https://forums.unrealengine.com/t/android-build-not-working/607248 "2022-07-18T02:45:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SF190G](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SF190G](https://forums.unrealengine.com/u/SF190G)\
**Post date:** [July 18, 2022, 2:45am UTC](https://forums.unrealengine.com/t/android-build-not-working/607248/1 "2022-07-18T02:45:18Z")

</div>

I do not understand why, but my pc will not allow me to package for android, like it just refuses to. I will attach part of the packaging log where it says that it went wrong. Can anyone please help me? Any help will be be appreciated. I have androud studio 4.0 installed with android 19 and up, with the ndk 21.1.6352462 installed. I dont understand why this isnt working.

UATHelper: Packaging (Android (ETC2)): \> Task :app:compileReleaseJavaWithJavac FAILED UATHelper: Packaging (Android (ETC2)): FAILURE: Build failed with an exception. UATHelper: Packaging (Android (ETC2)): \* What went wrong: UATHelper: Packaging (Android (ETC2)): Execution failed for task ‘:app:compileReleaseJavaWithJavac’. UATHelper: Packaging (Android (ETC2)): \> Compilation failed; see the compiler error output for details. UATHelper: Packaging (Android (ETC2)): \* Try: UATHelper: Packaging (Android (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 (ETC2)): \* Get more help at [https://help.gradle.org](https://help.gradle.org)
