What do you want to achieve?
?
E.g. full stack trace with exception
Describe your current debugging efforts.
> Your code here. Bigger samples should ideally be as separate Android Studio project,
> in gists/repositories or privately at [email protected])
Realm version(s): ?
Realm sync feature enabled: yes/no
Android Studio version: ?
Which Android version and device: ?
User is not part of the schema for this Realm.
1.) are you using kotlin
if yes, do you apply kotlin-kapt plugin
if yes, do you apply kotlin-kapt before realm-android plugin
if no, then apply kotlin kapt before realm-android
if no, then check other options
2.) are you trying to use User class from library project's RealmModule?
@RealmModule and this must be set on RealmConfiguration.Builder3.) is the User class a newly added class that was supposed to be added via a migration, but the schemaVersion was not increased and the migration was not provided?
Thx, I will check the direction you provided, thanks again.
I assume the above solved your issue, if not feel free to reopen. Closing.
Most helpful comment
1.) are you using kotlin
if yes, do you apply
kotlin-kaptpluginif yes, do you apply
kotlin-kaptbeforerealm-androidpluginif no, then apply kotlin kapt before realm-android
if no, then check other options
2.) are you trying to use
Userclass from library project's RealmModule?@RealmModuleand this must be set on RealmConfiguration.Builder3.) is the
Userclass a newly added class that was supposed to be added via a migration, but theschemaVersionwas not increased and the migration was not provided?