When you build & launch the app it crashes with the following stacktrace
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.vsch.mvi, PID: 12858
java.lang.ExceptionInInitializerError: RealmTransformer doesn't seem to be applied. Please update the project configuration to use the Realm Gradle plugin. See https://realm.io/news/android-installation-change/
at io.realm.RealmConfiguration.<clinit>(RealmConfiguration.java:79)
at io.realm.RealmConfiguration.access$000(RealmConfiguration.java:67)
at io.realm.RealmConfiguration$Builder.initializeBuilder(RealmConfiguration.java:545)
at io.realm.RealmConfiguration$Builder.<init>(RealmConfiguration.java:531)
at io.realm.Realm.initializeRealm(Realm.java:319)
at io.realm.Realm.init(Realm.java:261)
at com.vsch.mvi.app.MviSampleApplication.onCreate(MviSampleApplication.kt:20)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1189)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6460)
at android.app.ActivityThread.access$1300(ActivityThread.java:219)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
From the message, it seems you incorrectly applied the realm gradle plugin, but from my look, it seems correct. But I still getting this crash!
When you build & launch the app it crashes with the following stacktrace
From the message, it seems you incorrectly applied the realm gradle plugin, but from my look, it seems correct. But I still getting this crash!
Edit: I'm using AGP
7.2.0-alpha03
.