ERROR: cmd.exe failed with args /c "E:\\Intermediate\Android\gradle\rungradle.bat" :app:bundleRelease

Hello to everyone. I’ve been getting the same error for days, there’s nothing I haven’t done. I don’t know what to do anymore. Please help. I got paid for this project and I only have experience on pc. I don’t understand the errors in apk extensions. Thank you to everyone who will help. The error is as I wrote below.
Task :permission_library:mergeReleaseJniLibFolders
UATHelper: Packaging (Android (ETC2)): > Task :app:validateSigningRelease
UATHelper: Packaging (Android (ETC2)): > Task :downloader_library:mergeReleaseNativeLibs
UATHelper: Packaging (Android (ETC2)): > Task :downloader_library:stripReleaseDebugSymbols NO-SOURCE
UATHelper: Packaging (Android (ETC2)): > Task :downloader_library:copyReleaseJniLibsProjectOnly
UATHelper: Packaging (Android (ETC2)): > Task :app:parseReleaseIntegrityConfig
UATHelper: Packaging (Android (ETC2)): > Task :permission_library:mergeReleaseNativeLibs
UATHelper: Packaging (Android (ETC2)): > Task :permission_library:stripReleaseDebugSymbols NO-SOURCE
UATHelper: Packaging (Android (ETC2)): > Task :permission_library:copyReleaseJniLibsProjectOnly
UATHelper: Packaging (Android (ETC2)): > Task :app:mergeReleaseNativeLibs
UATHelper: Packaging (Android (ETC2)): > Task :app:stripReleaseDebugSymbols
UATHelper: Packaging (Android (ETC2)): > Task :app:buildReleasePreBundle 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:buildReleasePreBundle’.
UATHelper: Packaging (Android (ETC2)): > Required array size too large
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
UATHelper: Packaging (Android (ETC2)): 62 actionable tasks: 62 executed
UATHelper: Packaging (Android (ETC2)): BU�LD FAILED in 2m 13s
UATHelper: Packaging (Android (ETC2)): ERROR: cmd.exe failed with args /c “E:\selcuklumacerasiapk\Intermediate\Android\gradle\rungradle.bat” :app:bundleRelease
UATHelper: Packaging (Android (ETC2)): (see C:\Users\super\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\Log.txt for full exception trace)
UATHelper: Packaging (Android (ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ETC2)): BUILD FAILED
PackagingResults: Error: Unknown Error
LogAudioMixer: Warning: Changing default audio render device to new device: {0.0.0.00000000}.{b45432ad-a8e2-4a28-beaa-1f7b2aaa75e7}.
LogAudioMixer: Resetting audio stream to device id
LogAudioMixer: Display: 0: FrontLeft
LogAudioMixer: Display: 1: FrontRight
[image]

Hi, I had the same problem a few days ago.
I’m not sure if Unreal or Android Studio updated something.

But I’m sure my project hasn’t changed, the problem happened suddenly.

Please let me know if there is any solution

1 Like

let’s get started) to start give a screenshot …

1 Like

dude i’m following you right now I only have 6 hours left to solve this problem.

[image]

2 Likes

let’s also screenshot) and show me error

1 Like

it can be fixed in 10 minutes)

or let’s see what you do wrong)
P.S

1 Like

well…i have to reopen the project first to take a screenshot.
I don’t get any errors in the whole project. Rungrandle.bat throws an error while packing.

1 Like

in general it can be a bunch of reasons … so you have to go in order))
so I’m interested in what version of sdk ndk java you have

1 Like

I can’t stupidly upload an image right now. It couldn’t upload a 58 kb screenshot for 15 minutes. I will check the tutorial you directed.

[


]

1 Like


Download and install java …(or 77 but 301 works for me)

ok let’s continue

[


]

1 Like

try to pack and if there is an error then show me))

I did everything you said. but this error does not leave me.

[image]


is this plugin disabled? “Steam VR”

no. enable

disable - restart engine - try pack

and you aab pack or apk?
show me this setting

that’s how

uncheck aab … what will be the error?

1 Like