All of sudden I start getting this error, and I am not getting idea why if anyone just let me know where this error is, will be enough helpful. As much I am able to get is t
I had same problem with Room and i was not using viewBinding.
I Fixed it with using exportSchema to false in my database class.
@Database(entities = [ModelClass::class], version = 1, exportSchema = false)
abstract class ModelDatabase: RoomDatabase() {}
Remember: exportScehma could be vary according to your use case, generally it stays false so i put it to false.