android packaging error

mtoon
Mon, 05 Dec 2022 18:28:48 +0000
Mobile

i get a error that i don’t really understand so if someone can help me here the last lines of my logs (i put full logs as a txt) :

UATHelper: Packaging (Android (ASTC)): > Exception java.lang.NoClassDefFoundError: > Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 [in thread “Daemon worker”]

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 4s
PackagingResults: Error: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
PackagingResults: Error: Exception org.codehaus.groovy.GroovyBugError [in thread “Daemon worker”]
PackagingResults: Error: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 [in thread “Daemon worker”]
UATHelper: Packaging (Android (ASTC)): ERROR: cmd.exe failed with args /c “D:\document\unreal engine\VR\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug
UATHelper: Packaging (Android (ASTC)): (see C:\Users\Angel\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+games+UE_5.1\Log.txt for full exception trace)
UATHelper: Packaging (Android (ASTC)): AutomationTool executed for 0h 0m 48s
UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ASTC)): BUILD FAILED
PackagingResults: Error: cmd.exe failed with args /c “D:\document\unreal engine\VR\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug
PackagingResults: Error: Unknown Error
logs.txt (648.7 KB)

1 post - 1 participant