Posted on

Android room schema export directory

Room – Schema export directory is not provided to the annotation processor so we cannot export the schema

https://stackoverflow.com/questions/44322178/room-schema-export-directory-is-not-provided-to-the-annotation-processor-so-we

@Database(entities = { YourEntity.class }, version = 1, exportSchema = false)
public abstract class AppDatabase extends RoomDatabase {
}