Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

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

Open
huanbin opened this issue Aug 15, 2022 · 1 comment

Comments

@huanbin
Copy link

huanbin commented Aug 15, 2022

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
Copy link
Author

huanbin commented Aug 15, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant