kotlin room 框架 Cannot find setter for field.

 如下,存在is开头的属性
@ColumnInfo(name = "is_active") var isActived: Int = 1
去掉is改为即可 
@ColumnInfo(name = "is_active") var actived: Int = 1

猜你喜欢

转载自blog.csdn.net/qq_32319999/article/details/79986645