近来为了学习Compose,将Android Studio由4.2.1升级到Dolphin | 2021.3.1 Patch 1版本,后续build项目标时间出现错误提示
Cause: com/android/tools/idea/gradle/run/OutputBuildAction has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
办理思绪1: 升级JDK版本
办理思绪2:
一样平常来说,到这里问题就办理了,可以正常Build,但是我的项目由于gradle设置的问题,走到末了一步未能打包,详细错误是
Unable to load class 'javax.xml.bind.JAXBException'.
This is an unexpected error. Please file a bug containing the idea.log file.