# Project Refuses to Package when "Generate bundle (AAB)" is Enabled 

**URL:** <https://forums.unrealengine.com/t/project-refuses-to-package-when-generate-bundle-aab-is-enabled/2366940>\
**Category:** Mobile\
**Tags:** Android-Packaging, unreal-engine, Android, question\
**Created:** [March 1, 2025, 7:13pm UTC](https://forums.unrealengine.com/t/project-refuses-to-package-when-generate-bundle-aab-is-enabled/2366940 "2025-03-01T19:13:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bacon-Pig](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bacon-Pig](https://forums.unrealengine.com/u/Bacon-Pig)\
**Post date:** [March 1, 2025, 7:13pm UTC](https://forums.unrealengine.com/t/project-refuses-to-package-when-generate-bundle-aab-is-enabled/2366940/1 "2025-03-01T19:13:32Z")

</div>

I’m trying to package a build of my project to upload to the Google Play Store. I need an AAB file for Google Play. Whenever I try to package the project with “Generate bundle (AAB)” enabled in Platforms–\>Andriod–\>App Bundles, the will always get a “Packaging failed!” result and it will say “PackagingResults: Error: Unknown Error” in the log.

```auto
UATHelper: Packaging (Android (ETC2)): Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:)
UATHelper: Packaging (Android (ETC2)): Making .aab with Gradle...
UATHelper: Packaging (Android (ETC2)): To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.7/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
UATHelper: Packaging (Android (ETC2)): Daemon will be stopped at the end of the build 
UATHelper: Packaging (Android (ETC2)): FAILURE: Build failed with an exception.
UATHelper: Packaging (Android (ETC2)): * Where:
UATHelper: Packaging (Android (ETC2)): Build file 'Z:\app\build.gradle' line: 22
UATHelper: Packaging (Android (ETC2)): * What went wrong:
UATHelper: Packaging (Android (ETC2)): A problem occurred evaluating project ':app'.
UATHelper: Packaging (Android (ETC2)): > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 67
UATHelper: Packaging (Android (ETC2)): * Try:
UATHelper: Packaging (Android (ETC2)): > Run with --stacktrace option to get the stack trace.
UATHelper: Packaging (Android (ETC2)): > Run with --info or --debug option to get more log output.
UATHelper: Packaging (Android (ETC2)): > Run with --scan to get full insights.
UATHelper: Packaging (Android (ETC2)): > Get more help at https://help.gradle.org.
UATHelper: Packaging (Android (ETC2)): BUILD FAILED in 7s
UATHelper: Packaging (Android (ETC2)): cmd.exe failed with args /c "C:\Users\dalyn\Documents\Unreal Projects\MobileGameDesign\Intermediate\Android\gradle\rungradle.bat" :app:bundleDebug
UATHelper: Packaging (Android (ETC2)): (see C:\Users\dalyn\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.5\Log.txt for full exception trace)
UATHelper: Packaging (Android (ETC2)): AutomationTool executed for 0h 0m 57s
UATHelper: Packaging (Android (ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ETC2)): BUILD FAILED
PackagingResults: Error: Unknown Error

```

I think I’ve isolated it to this singular thing being enabled. When its not enabled, I get get a build just fine and run the APK file on the phone. I’m packaging on “Development” on Andriod (ETC2).

If anyone knows what’s going wrong I would greaty appreciate it 🙂
