Room与kotlin协程

156 阅读1分钟

异常信息:

Type of the parameter must be a class annotated with @Entity or a collection/array of it.

解决方法:

升级Room版本至2.6.0

kotlin和room 以及协程库的配合使用,比较繁琐,google搞这套开源库,对入门选手很不友好!