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版本进行修改替换

相关推荐
tmacfrank7 分钟前
Android 网络全栈攻略(四)—— TCPIP 协议族与 HTTPS 协议
android·网络·https
fundroid1 小时前
Kotlin 协程:Channel 与 Flow 深度对比及 Channel 使用指南
android·kotlin·协程
草字1 小时前
cocos 打包安卓
android
DeBuggggggg2 小时前
centos 7.6安装mysql8
android
吴梓穆3 小时前
UE5 重新编译插件版本
ue5
HECUgauss3 小时前
UE5 使用过程遇到的问题
ue5
m0_552200823 小时前
《UE5_C++多人TPS完整教程》学习笔记40 ——《P41 装备(武器)姿势(Equipped Pose)》
c++·游戏·ue5
浩浩测试一下3 小时前
渗透信息收集- Web应用漏洞与指纹信息收集以及情报收集
android·前端·安全·web安全·网络安全·安全架构
移动开发者1号4 小时前
深入理解原子类与CAS无锁编程:原理、实战与优化
android·kotlin
陈卓4104 小时前
MySQL-主从复制&分库分表
android·mysql·adb