My app database class
@Database(entities = {Detail.class}, version = Constant.DATABASE_VERSION) public abstract class AppDatabase extends RoomDatabase {
I had this error when I missed
@Database(entity="{})
Ensure that the entity model specified in the annotation above refers to the particular model class and also ensure that the necessary annotation:
@Entity(tableName = "" ...)
is properly defined and you'd be good