我已经下载了最新的Android Studio Flamingo(2022.2.1补丁2),但在构建我的项目期间,我得到了以下内容:
Execution failed for task ':app:kaptGoogleDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
> java.lang.reflect.InvocationTargetException (no error message)
在以前的Flamingo版本中,我没有这个问题。怎么了?
1条答案
按热度按时间rks48beu1#
我已经将JDK版本更改为最新的Amazon Corretto JDK,问题就消失了。