After update from 4.2.0, I found that my project had a dependency on kotlin stdlib.
Well, I'm glad that kotlin became official language for Android Development, but isn't it too soon? :)
I guess, that is a bug and kotlin + extensions must be optional.
Realm version(s): 4.3.0
Realm sync feature enabled: no
Android Studio version: 3.0.1
It should only do that if you already include Kotlin?
But you can disable it by adding this to your build.gradle:
```
android {
...
}
realm {
kotlinExtensionsEnabled = false
}
I do not use kotlin in project. Also, there is no Kotlin classes in apk when I build it with 4.2.0.
With kotlinExtensionsEnabled = false I also have Kotlin classes in output apk. I'll try to create example project.
Here is an example project: RealmKotlinExample.zip
And here is an APK analyzer result of assembleDebug output:

I can reproduce this. It's a really embarrassing bug 馃槩 . There will be a 4.3.1 fixing this tomorrow.
Fixed by #5592
4.3.1 has been released with a fix for this
Thanks! Now it works properly.
Most helpful comment
I can reproduce this. It's a really embarrassing bug 馃槩 . There will be a 4.3.1 fixing this tomorrow.