android / codelab-kotlin-coroutines

Kotlin Coroutines codelab
Apache License 2.0
552 stars 268 forks source link

Room TitleDao auto generated dao impl class has error with Room version '2.4.1' #175

Open huanbin opened 2 years ago

huanbin commented 2 years ago

TitleDao.java:15: Not sure how to handle insert method's return type. public abstract java.lang.Object insertTitle(@org.jetbrains.annotations.NotNull()

TitleDao.java:17: Type of the parameter must be a class annotated with @Entity or a collection/array of it. kotlin.coroutines.Continuation<? super kotlin.Unit> continuation);

huanbin commented 2 years ago

I am use Kotlin 1.7.10 , replace room version with '2.4.3' is ok!