UATHelper: Packaging (Android (ASTC)): > Task :app:packageDebug FAILED
UATHelper: Packaging (Android (ASTC)): 57 actionable tasks: 4 executed, 53 up-to-date
UATHelper: Packaging (Android (ASTC)): FAILURE: Build failed with an exception.
UATHelper: Packaging (Android (ASTC)): * What went wrong:
UATHelper: Packaging (Android (ASTC)): Execution failed for task ':app:packageDebug'.
UATHelper: Packaging (Android (ASTC)): > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
UATHelper: Packaging (Android (ASTC)): > java.lang.OutOfMemoryError (no error message)
UATHelper: Packaging (Android (ASTC)): * Try:
UATHelper: Packaging (Android (ASTC)): 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 (ASTC)): * Get more help at https://help.gradle.org
UATHelper: Packaging (Android (ASTC)): BUILD FAILED in 55s
How does one run with --stacktrace or if anyone knows how to solve this?
For context I have made multiple builds just fine no issue.
Added content that made my OBB file size grow past 4G size limit so I removed content to make it smaller again. Now I get this out of memory error even after I deleted saved and intermediate files.
EDIT: I seem to have temporarily solved it by unchecking including OBB file in APK. I suppose I can continue this way but Iām still not sure why this would happen.