一、概述
在编译greendao的时候出现了以下异常。
Execution failed for task ':common_base:kaptDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution > java.lang.reflect.InvocationTargetException (no error message)
二、解决办法
原因是greendao的插件位置不对,把greendao插件的位置放到kotlin-kapt的上面就行了。这个问题也可以引申出其他类似这种问题的解决方案,例如:ButterKnife等
- InvocationTargetException KaptExecution greenDao reflect 时候invocationtargetexception kaptexecution greendao kaptexecution greendao invocationtargetexception invocationtargetexception repositoryid exception greendao android数据 androidstudio4 androidstudio greendao 1.1 dinstinct greendao with how undeclaredthrowableexception invocationtargetexception reflect