Kotlin Room 找不到 getter 字段

Kotlin Room Cannot find getter for field

Task :app:kaptDebugKotlin FAILED E:\MobileProjects\NewsApp\app\build\tmp\kapt3\stubs\debug\com\appops\newsapp\models\Article.java:10: error: Cannot find getter for field. private java.lang.Integer id; [WARN] Incremental annotation processing requested, but support is disabled because the following processors are not incremental: androidx.room.RoomProcessor (DYNAMIC). ^ FAILURE: Build failed with an exception.

A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution java.lang.reflect.InvocationTargetException (no error message)

error image

请帮帮我

对于土耳其语系统语言:荒谬的是,不生成以字母“i”开头的getter属性。例如将名称更改为“uid”而不是“id”