Skip to content Skip to sidebar Skip to footer

The Class Is Missing From The Schema For This Realm

Project setting Android studio 2.3.3 Realm 3.5.0 Source RealmController.java public RealmController(Context context) { try { this.context = context; Realm.ini

Solution 1:

If you create a Realm with a given schema on the device, then if you start modifying the schema (by adding new classes, adding new fields, removing fields, adding/removing @Index, adding/removing @Required, changing a type, etc.) then you either need to provide a migration (example here), or you need to specify deleteIfMigrationNeeded() on your RealmConfiguration.


Solution 2:


Post a Comment for "The Class Is Missing From The Schema For This Realm"