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

LogPlayLevel: UAT: at java.base/java.util.concurrent.ThreadPoolExecutorWorker.run(ThreadPoolExecutor.java:635) LogPlayLevel: UAT: at org.gradle.internal.concurrent.ThreadFactoryImplManagedThreadRunnable.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版本进行修改替换

相关推荐
呆呆敲代码的小Y31 分钟前
【实战精选面试题】C# 面试题详细解答,按难易程度排序
android·java·游戏·c#·游戏开发·unity面试题·c#面试题
思想觉悟2 小时前
SEAndroid实战
android·linux·c++
思想觉悟3 小时前
Aosp开发磨刀石之ADB速查
android·c++
应用市场5 小时前
用本机跑的开源音乐模型,给安卓小游戏做 20 秒无缝循环背景音乐
android·python·游戏开发·soundpool·音频处理
企业数字化笔记5 小时前
表单发布前怎么验收?版本引用、字段兼容和历史数据回归
android·数据挖掘·回归
生信分析笔记5 小时前
Nature 正刊 GPN-Star 基因组语言模型
android
渣渣盟5 小时前
Flink 状态管理深度剖析:从 KeyedState 到 RocksDB,状态如何存储、恢复与扩缩容
android·大数据·flink
avi91115 小时前
电影开源Jevdo - 源码介绍(vue版)没有android 和 没有wpf
android·wpf·框架·数据爬虫·meego·电影管理
OxYGC5 小时前
[工程] PHP2Shell 漏洞解析:两条 PHP 内核 RCE,为什么应用层的防护全部失效
android·开发语言·php
拥小抱21 小时前
Compose 知识点
android