I Believe The Problem May Be Not Installing Android Studio And Only Installing Nvidia Codeworks, Bru
Ima Follow This:
I Deleted The Whole .Gradle Folder And its WORKING, Onto The 3rd Phase, BRUU Furthers Ive Gotten, I Also Delted From Proj Location Intermediate And Saved Folders. BRU
Actually You Just Have To Delete The .gradle Folder From C\Users(username).gradle(delete tis ting) And Also From Proj Location Delete Intermediate And Saved Folders, it Will Work! BRU
If the intermediate folder was deleted, it’s regenerated when you build. As its name suggests, it’s used as a place to store intermediate build files. I don’t know the details of ue4’s build tools, but c++ build tools in general use intermediate files to save time instead of re-compiling everything each time you build.
I get the same result too. When I delete the intermediate folder, it keeps reappearing everytime I delete it. Can someone please help me.
I get the same results. When I delete the intermediate folder it reappears everytime I package the project. Someone please help me.
Actually Guys, The Way I Fixed It Was I Was Using Nvidia Codeworks And I Have Android Studio, i Went Into Android Studio, Open SDK Manager And Chose To Download All The SDK Versions From 18 To 30, And It Downloaded Into The NVPack Built Tools Location And After It Built Perfectly, Thanks!
I found deleting the gradle folder specified above c:\users\didn’t help. The .Gradle one. But deleting the “yourproject”\intermediate\android\armv7\gradle folder worked.
This worked for me as well! Excellent!
This is the right solution, thank you so much.
Disabling Android 31.0.0 and enabling 28.0.3 solved the error.
Its working (eu4.26 and 4 android studio), thank you !
LILO Game you solved this error
UATHelper: Packaging (Android (ETC2)): ERROR: cmd.exe failed with args /c “E:\PROJECT\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleRelease
did you get it fixed ?
I cannot get this error fixed , tried everything
Making .aab with Gradle…
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: The Gradle Daemon.
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 connect to the Gradle daemon.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Daemon uid: d2c19dae-a41f-4e2c-9590-c9408c69b0ba with diagnostics:
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Daemon pid: 14236
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): log file: C:\Users\erens.gradle\daemon\6.1.1\daemon-14236.out.log
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ----- Last 20 lines from daemon log file - daemon-14236.out.log -----
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.021+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.021+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Microsoft Wi-Fi Direct Virtual Adapter #2-Native WiFi Filter Driver-0000
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.022+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.022+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Microsoft Wi-Fi Direct Virtual Adapter #2-QoS Packet Scheduler-0000
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.024+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.024+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Microsoft Wi-Fi Direct Virtual Adapter #2-WFP 802.3 MAC Layer LightWeight Filter-0000
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.025+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.027+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpIncomingConnector] Listening on [b9575729-fb7c-4486-b9d1-fdec35858af7 port:57503, addresses:[localhost/127.0.0.1]].
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.029+0200 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] Daemon starting at: Sun Apr 24 10:47:09 CAT 2022, with address: [b9575729-fb7c-4486-b9d1-fdec35858af7 port:57503, addresses:[localhost/127.0.0.1]]
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.029+0200 [INFO] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Advertising the daemon address to the clients: [b9575729-fb7c-4486-b9d1-fdec35858af7 port:57503, addresses:[localhost/127.0.0.1]]
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.029+0200 [DEBUG] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Advertised daemon context: DefaultDaemonContext[uid=d2c19dae-a41f-4e2c-9590-c9408c69b0ba,javaHome=C:\Program Files\Java\jdk1.8.0_77,daemonRegistryDir=C:\Users\erens.gradle\daemon,pid=14236,idleTimeout=120000,priority=NORMAL,daemonOpts=-XX:MaxHeapSize=4096m,-Xmx9216m,-Dfile.encoding=windows-1252,-Duser.country=ZA,-Duser.language=en,-Duser.variant]
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.030+0200 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Storing daemon address: [b9575729-fb7c-4486-b9d1-fdec35858af7 port:57503, addresses:[localhost/127.0.0.1]], context: DefaultDaemonContext[uid=d2c19dae-a41f-4e2c-9590-c9408c69b0ba,javaHome=C:\Program Files\Java\jdk1.8.0_77,daemonRegistryDir=C:\Users\erens.gradle\daemon,pid=14236,idleTimeout=120000,priority=NORMAL,daemonOpts=-XX:MaxHeapSize=4096m,-Xmx9216m,-Dfile.encoding=windows-1252,-Duser.country=ZA,-Duser.language=en,-Duser.variant]
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.038+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.040+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.043+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.043+0200 [LIFECYCLE] [org.gradle.launcher.daemon.server.Daemon] Daemon server started.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.044+0200 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonStartupCommunication] Completed writing the daemon greeting. Closing streams…
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.047+0200 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] stopOnExpiration() called on daemon
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.048+0200 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] awaitExpiration() called on daemon
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.048+0200 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon is running. Sleeping until state changes.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ----- End of the daemon log -----
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
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “f:\Users\erens\OneDrive\Documents\Unreal Projects\MobileFirstTry\Intermediate\Android\gradle\rungradle.bat” :app:bundleRelease
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see C:\Users\erens\AppData\Roaming\Unreal Engine\AutomationTool\Logs\f+Program+Files+Epic+Games+UE_5.0\Log.txt for full exception trace)
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool executed for 0h 1m 57s
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Updating environment variables set by a Turnkey sub-process
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The system cannot find the path specified.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The system cannot find the path specified.
looks like Epic just don’t care to fix the issues ???
Can someone help with this error ,
Making .aab with Gradle…
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: The Gradle Daemon.
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 connect to the Gradle daemon.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Daemon uid: d2c19dae-a41f-4e2c-9590-c9408c69b0ba with diagnostics:
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Daemon pid: 14236
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): log file: C:\Users\erens.gradle\daemon\6.1.1\daemon-14236.out.log
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ----- Last 20 lines from daemon log file - daemon-14236.out.log -----
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.021+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.021+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Microsoft Wi-Fi Direct Virtual Adapter #2-Native WiFi Filter Driver-0000
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.022+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.022+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Microsoft Wi-Fi Direct Virtual Adapter #2-QoS Packet Scheduler-0000
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.024+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.024+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface Microsoft Wi-Fi Direct Virtual Adapter #2-WFP 802.3 MAC Layer LightWeight Filter-0000
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.025+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.027+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpIncomingConnector] Listening on [b9575729-fb7c-4486-b9d1-fdec35858af7 port:57503, addresses:[localhost/127.0.0.1]].
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.029+0200 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] Daemon starting at: Sun Apr 24 10:47:09 CAT 2022, with address: [b9575729-fb7c-4486-b9d1-fdec35858af7 port:57503, addresses:[localhost/127.0.0.1]]
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.029+0200 [INFO] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Advertising the daemon address to the clients: [b9575729-fb7c-4486-b9d1-fdec35858af7 port:57503, addresses:[localhost/127.0.0.1]]
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.029+0200 [DEBUG] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Advertised daemon context: DefaultDaemonContext[uid=d2c19dae-a41f-4e2c-9590-c9408c69b0ba,javaHome=C:\Program Files\Java\jdk1.8.0_77,daemonRegistryDir=C:\Users\erens.gradle\daemon,pid=14236,idleTimeout=120000,priority=NORMAL,daemonOpts=-XX:MaxHeapSize=4096m,-Xmx9216m,-Dfile.encoding=windows-1252,-Duser.country=ZA,-Duser.language=en,-Duser.variant]
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.030+0200 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Storing daemon address: [b9575729-fb7c-4486-b9d1-fdec35858af7 port:57503, addresses:[localhost/127.0.0.1]], context: DefaultDaemonContext[uid=d2c19dae-a41f-4e2c-9590-c9408c69b0ba,javaHome=C:\Program Files\Java\jdk1.8.0_77,daemonRegistryDir=C:\Users\erens.gradle\daemon,pid=14236,idleTimeout=120000,priority=NORMAL,daemonOpts=-XX:MaxHeapSize=4096m,-Xmx9216m,-Dfile.encoding=windows-1252,-Duser.country=ZA,-Duser.language=en,-Duser.variant]
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.038+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.040+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.043+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.043+0200 [LIFECYCLE] [org.gradle.launcher.daemon.server.Daemon] Daemon server started.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.044+0200 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonStartupCommunication] Completed writing the daemon greeting. Closing streams…
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.047+0200 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] stopOnExpiration() called on daemon
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.048+0200 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] awaitExpiration() called on daemon
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 2022-04-24T10:47:09.048+0200 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon is running. Sleeping until state changes.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ----- End of the daemon log -----
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
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “f:\Users\erens\OneDrive\Documents\Unreal Projects\MobileFirstTry\Intermediate\Android\gradle\rungradle.bat” :app:bundleRelease
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see C:\Users\erens\AppData\Roaming\Unreal Engine\AutomationTool\Logs\f+Program+Files+Epic+Games+UE_5.0\Log.txt for full exception trace)
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool executed for 0h 1m 57s
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Updating environment variables set by a Turnkey sub-process
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The system cannot find the path specified.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The system cannot find the path specified.
I solved this problem by unticking “For Distribution” in the project settings. If “For Distribution” is ticked, I get the problem consistently.