kotlin_version升級到1.4.32后編輯一直報錯
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
> java.lang.reflect.InvocationTargetException (no error message)
沒有提示具體的報錯位置,經(jīng)過排查最后發(fā)現(xiàn)我這邊的問題是因為使用了room數(shù)據(jù)庫且版本過低導(dǎo)致的
將room數(shù)據(jù)庫升級到2.2.0-rc01及以上版本后,不再報錯
implementation "androidx.room:room-runtime:2.2.0-rc01"
kapt "androidx.room:room-compiler:2.2.0-rc01"
以上只是個人遇到的問題之一,僅供參考