UE5 打包安卓报错LogPlayLevel: UAT: at org.codehaus.groovy.vmplugin.v7.Java7

LogPlayLevel: UAT: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) LogPlayLevel: UAT: at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56) LogPlayLevel: UAT: at java.base/java.lang.Thread.run(Thread.java:842) LogPlayLevel: Error: UAT: Caused by: java.lang.ExceptionInInitializerError: Exception org.codehaus.groovy.GroovyBugError [in thread "Daemon worker"] LogPlayLevel: UAT: at org.codehaus.groovy.vmplugin.v7.Java7.<clinit>(Java7.java:45) LogPlayLevel: UAT: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) LogPlayLevel: UAT: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) LogPlayLevel: UAT: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) LogPlayLevel: UAT: at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) LogPlayLevel: UAT: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) LogPlayLevel: UAT: at org.codehaus.groovy.vmplugin.VMPluginFactory.createPlugin(VMPluginFactory.java:57) LogPlayLevel: UAT: at org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit>(VMPluginFactory.java:39) LogPlayLevel: UAT: ... 128 more LogPlayLevel: UAT: LogPlayLevel: UAT: FAILURE: Build failed with an exception. LogPlayLevel: UAT: LogPlayLevel: UAT: * What went wrong: LogPlayLevel: UAT: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache LogPlayLevel: Error: UAT: > Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 [in thread "Daemon worker"] LogPlayLevel: UAT: LogPlayLevel: UAT: * Try: LogPlayLevel: UAT: 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. LogPlayLevel: UAT: LogPlayLevel: UAT: * Get more help at https://help.gradle.org LogPlayLevel: UAT: LogPlayLevel: UAT: BUILD FAILED in 2s LogPlayLevel: Error: UAT: ERROR: cmd.exe failed with args /c "XXXXXXX\Intermediate\Android\arm64\gradle\rungradle.bat" :app:assembleDebug LogPlayLevel: UAT: (see C:\Users\Joel\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE_5.2\Log.txt for full exception trace) LogPlayLevel: UAT: AutomationTool executed for 0h 0m 27s LogPlayLevel: UAT: AutomationTool exiting with ExitCode=1 (Error_Unknown) LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 14.525726 LogPlayLevel: UAT: BUILD FAILED PackagingResults: Error: 启动失败! Unknown Error

将JDK版本进行修改替换

  • 8
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值