I'm working on an Android project and trying to use the RealmObject class is not recognized even though I import the io.realm.RealmObject package.
Is this class no longer available?
I'm working on an Android project and trying to use the RealmObject class is not recognized even though I import the io.realm.RealmObject package.
Is this class no longer available?
To solve this problem you need to put the library in build.gradle .
classpath "io.realm: realm-gradle-plugin: 2.2.1"
In my case it looked like this:
dependencies {
classpath "io.realm:realm-gradle-plugin:2.2.1"
}