Open mittaus opened 5 years ago
Did you add realm plugin to your gradle config? Please check reference https://realm.io/docs/java/latest/
Hi @Mogol, I had forgotten to perform step 2 of the Realm documentation link for Java.
Step 2: Apply the realm-android plugin to the top of the application level build.gradle file.
apply plugin: 'realm-android'
Now that I added that line, and I run flutter run
I get the following error:
Duplicate class io.realm.BaseModuleMediator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BaseRealm found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BaseRealm$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BaseRealm$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BaseRealm$3 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BaseRealm$4 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BaseRealm$5 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BaseRealm$6 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BaseRealm$InstanceCallback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BaseRealm$RealmObjectContext found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BaseRealm$ThreadLocalRealmObjectContext found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BinaryListOperator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BooleanListOperator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.BuildConfig found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Case found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.CompactOnLaunchCallback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.DateListOperator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.DefaultCompactOnLaunchCallback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.DoubleListOperator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.DynamicRealm found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.DynamicRealm$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.DynamicRealm$Callback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.DynamicRealm$Transaction found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.DynamicRealmObject found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.DynamicRealmObject$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.FieldAttribute found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.FloatListOperator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.ImmutableRealmObjectSchema found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.ImmutableRealmSchema found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.ImportFlag found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.LongListOperator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.ManagedListOperator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.MutableRealmInteger found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.MutableRealmInteger$Managed found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.MutableRealmInteger$Unmanaged found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.MutableRealmObjectSchema found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.MutableRealmSchema found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.ObjectChangeSet found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.OrderedCollectionChangeSet found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.OrderedCollectionChangeSet$Range found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.OrderedCollectionChangeSet$State found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.OrderedRealmCollection found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.OrderedRealmCollectionChangeListener found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.OrderedRealmCollectionImpl found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.OrderedRealmCollectionImpl$RealmCollectionIterator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.OrderedRealmCollectionImpl$RealmCollectionListIterator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.OrderedRealmCollectionSnapshot found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.ProxyState found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.ProxyState$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.ProxyState$QueryCallback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.ProxyState$RealmChangeListenerWrapper found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.ProxyUtils found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$1$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$1$1$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$1$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$3 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$4 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$5 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$Callback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$Transaction found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$Transaction$Callback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$Transaction$OnError found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$Transaction$OnSuccess found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Realm$UnsubscribeCallback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmAsyncTask found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmCache found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmCache$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmCache$Callback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmCache$Callback0 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmCache$CreateRealmRunnable found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmCache$CreateRealmRunnable$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmCache$CreateRealmRunnable$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmCache$RealmCacheType found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmCache$RefAndCount found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmChangeListener found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmCollection found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmConfiguration found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmConfiguration$Builder found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmFieldType found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmFieldTypeConstants found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmList found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmList$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmList$RealmItr found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmList$RealmListItr found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmMigration found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmModel found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmModelListOperator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmObject found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmObjectChangeListener found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmObjectSchema found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmObjectSchema$DynamicColumnIndices found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmObjectSchema$FieldMetaData found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmObjectSchema$Function found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmQuery found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmQuery$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmResults found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmResults$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.RealmSchema found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.SchemaConnector found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.Sort found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.StringListOperator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.exceptions.RealmError found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.exceptions.RealmException found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.exceptions.RealmFileException found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.exceptions.RealmFileException$Kind found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.exceptions.RealmMigrationNeededException found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.exceptions.RealmPrimaryKeyConstraintException found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.exceptions.package-info found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.Capabilities found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.CheckedRow found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ColumnIndices found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ColumnInfo found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ColumnInfo$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ColumnInfo$ColumnDetails found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.EmptyLoadChangeSet found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.FinalizerRunnable found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.IOException found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.IdentitySet found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.InvalidRow found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.Keep found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.KeepMember found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ManagableObject found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.NativeContext found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.NativeObject found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.NativeObjectReference found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.NativeObjectReference$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.NativeObjectReference$ReferencePool found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ObjectServerFacade found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ObservableCollection found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ObservableCollection$Callback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ObservableCollection$CollectionObserverPair found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ObservableCollection$RealmChangeListenerWrapper found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ObserverPairList found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ObserverPairList$Callback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.ObserverPairList$ObserverPair found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsCollectionChangeSet found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsList found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsObject found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsObject$Callback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsObject$ObjectObserverPair found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsObject$OsObjectChangeSet found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsObjectSchemaInfo found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsObjectSchemaInfo$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsObjectSchemaInfo$Builder found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsObjectStore found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsRealmConfig found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsRealmConfig$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsRealmConfig$Builder found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsRealmConfig$Durability found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsRealmConfig$SchemaMode found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsRealmConfig$SyncSessionStopPolicy found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$10 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$11 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$3 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$4 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$5 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$6 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$7 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$8 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$9 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$AddListTypeDelegate found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$Aggregate found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$Iterator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$ListIterator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsResults$Mode found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsSchemaInfo found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsSharedRealm found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsSharedRealm$InitializationCallback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsSharedRealm$MigrationCallback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsSharedRealm$SchemaChangedCallback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.OsSharedRealm$VersionID found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.PendingRow found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.PendingRow$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.PendingRow$FrontEnd found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.Property found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.Property$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.RealmCore found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.RealmNotifier found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.RealmNotifier$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.RealmNotifier$RealmObserverPair found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.RealmObjectProxy found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.RealmObjectProxy$CacheData found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.RealmProxyMediator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.Row found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.StatefulCollectionChangeSet found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.SubscriptionAwareOsResults found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.SubscriptionAwareOsResults$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.SubscriptionAwareOsResults$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.SubscriptionAwareOsResults$3 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.Table found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.Table$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.TableQuery found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.TestUtil found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.UncheckedRow found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.Util found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.android.AndroidCapabilities found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.android.AndroidRealmNotifier found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.android.ISO8601Utils found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.android.JsonUtils found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.android.package-info found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.annotations.ObjectServer found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.async.BadVersionException found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.async.BgPriorityCallable found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.async.BgPriorityRunnable found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.async.RealmAsyncTaskImpl found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.async.RealmThreadPoolExecutor found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.async.RealmThreadPoolExecutor$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.core.DescriptorOrdering found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.core.IncludeDescriptor found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.core.QueryDescriptor found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.core.package-info found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.fields.CachedFieldDescriptor found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.fields.DynamicFieldDescriptor found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.fields.FieldDescriptor found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.fields.FieldDescriptor$SchemaProxy found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.modules.CompositeMediator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.modules.FilterableMediator found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.modules.package-info found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$10 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$11 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$12 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$3 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$4 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$5 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$6 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$7 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$8 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$9 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.objectstore.OsObjectBuilder$ItemCallback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.package-info found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.sync.BaseModule found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.sync.OsSubscription found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.sync.OsSubscription$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.sync.OsSubscription$Callback found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.sync.OsSubscription$SubscriptionObserverPair found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.sync.OsSubscription$SubscriptionState found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.sync.SubscriptionAction found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.internal.util.Pair found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_SubscriptionRealmProxy$ClassNameHelper found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_SubscriptionRealmProxy$SubscriptionColumnInfo found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_SubscriptionRealmProxyInterface found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_permissions_ClassPermissionsRealmProxy$ClassNameHelper found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_permissions_ClassPermissionsRealmProxy$ClassPermissionsColumnInfo found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_permissions_PermissionRealmProxy$ClassNameHelper found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_permissions_PermissionRealmProxy$PermissionColumnInfo found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_permissions_PermissionUserRealmProxy$ClassNameHelper found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_permissions_PermissionUserRealmProxy$PermissionUserColumnInfo found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_permissions_RealmPermissionsRealmProxy$ClassNameHelper found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_permissions_RealmPermissionsRealmProxy$RealmPermissionsColumnInfo found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_permissions_RoleRealmProxy$ClassNameHelper found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.io_realm_sync_permissions_RoleRealmProxy$RoleColumnInfo found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.log.LogLevel found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.log.RealmLog found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.log.RealmLogger found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.log.package-info found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.package-info found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.CollectionChange found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.ObjectChange found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$10 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$10$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$10$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$11 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$11$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$11$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$12 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$12$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$12$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$13 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$13$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$13$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$14 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$14$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$14$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$15 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$15$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$15$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$16 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$16$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$16$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$17 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$17$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$17$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$3 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$4 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$4$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$4$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$5 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$5$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$5$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$6 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$6$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$6$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$7 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$7$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$7$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$8 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$8$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$8$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$9 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$9$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$9$2 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RealmObservableFactory$StrongReferenceCounter found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.RxObservableFactory found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.rx.package-info found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.sync.Subscription$State found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.sync.permissions.Permission$1 found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.sync.permissions.Permission$Builder found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0) Duplicate class io.realm.sync.permissions.package-info found in modules classes.jar (io.realm:realm-android-library-object-server:5.13.0) and classes.jar (io.realm:realm-android-library:5.13.0)
Go to the documentation to learn how to Fix dependency resolution errors.
In file ./android/app/build.graddle added:
realm {
syncEnabled = true
}
...and compiled ok :)
I think it should be in the documentation.
I think it should be in the documentation. Makes sense 👍 I will update the docs
@mogol I have upgraded to version 6.0.0 and made everything in the post but I get the error that my class is not found and I can't query the database, example is not working as well
Hi @dimityrivanov Could you try 5.XX realm? I haven't yet tested it with 6.0.0. That might be the reason.
@mogol tried with 5.13.0 and I get this error : Unhandled Exception: PlatformException(Class does not exist in the Realm and cannot be queried: Transaction, Class does not exist in the Realm and cannot be my code is as follow :
import io.realm.RealmObject;
public class Transaction extends RealmObject {
private long id;
private String title;
private String amount;
private String date;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
}
and here is the scheme:
class Transaction {
final String id;
final String title;
final double amount;
final DateTime date;
Transaction({
@required this.id,
@required this.title,
@required this.amount,
@required this.date,
});
factory Transaction.fromJson(Map<String, dynamic> json) {
return Transaction(
amount: json['amount'],
date: json['date'],
id: json['id'],
title: json['title'],
);
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['amount'] = this.amount;
data['date'] = this.date.toString();
data['id'] = this.id;
data['title'] = this.title;
return data;
}
}
the example in the repo is not working as well, you add a record to the fetchWidget and after a reload the item is not there!
@dimityrivanov I would recommend to continue discussion in your issue #5 , as the problem looks different to this thread. Thanks
@mogol this issue name is Error: The class 'ClasName' doesn't exist in this Realm. mine is exactly the same. I will close the other one you answered my question there.
@dimityrivanov could you confirm that realm plugin is configured correctly in your gradle config?
I see only 2 potential problems:
1) no class in generated realm code, that basically means realm plugin is not added
2) wrong name is passed in dart code, pls check class name realm.createObject('ClassName', myclass.toMap());
@mogol added the plugin using the
realm {
syncEnabled = true
}
without it does not work.
Also the I create the object the following way -> widget.realm.createObject('Transaction', transaction.toJson()) but I get the error when I fetch all of them widget.realm.allObjects('Transaction')
Did you add this line?
Step 2: Apply the realm-android plugin to the top of the application level build.gradle file.
apply plugin: 'realm-android'
@mogol Yes
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply plugin: 'realm-android'
realm {
syncEnabled = true
}
The only difference I see is that my project is in Kotlin and in your example I don't see Kotlin support
🤔 it should work.
I would recommend then to create your object in native code and check if it works or not. You can follow the sample in Realm Docs
If it doesn't work, please check your realm configuration in Android
If it works, please compare your project with the example, as it works, to find the difference.
@mogol I think I made it working if the project support Kotlin I had to use
apply plugin: 'kotlin-kapt'
with all of the above to make it work :)
Error: The class
'ClasName'
doesn't exist in this Realm.Exception on line
await realm.createObject('ClassName', myclass.toMap());
onmain.dart
In Flutter, main.dart
In Flutter object path:
app_ns/lib/src/dao/class_name_dao.dart
My config in Android path:
android/app/src/main/java/com/example/app_ns/model/ClassName.java
Code in Java: