Hey guys ! A quick question, maybe too much techni...
# android
a
Hey guys ! A quick question, maybe too much technical. Did you ever experienced a bigger app size (on device, via playstore installation) when using Kotlin instead of Java ? Did the add of kotlin std lib to the apk is managed on device by the playstore or gservice ?
s
My experience has been that there is no noticeable difference.
a
Thanks for your answer. It's also what we think but not very sure of that as we notice small differences on apk size. If someone have proof, or an official Google statement about this it would be perfect
c
The only thing that gets added is the size of the kotlin stdlib, which is is 1.3 MB on MavenCentral. Apart from that, there is no additional runtime that needs to be installed, since Kotlin compiles directly to JVM bytecode (unlike Xamarin or React Native, for example)
e
I believe it would be even smaller if minifyEnabled is true
g
it will be a lot smaller with R8 (depends on how many features of stdlib you use of course)
Did the add of kotlin std lib to the apk is managed on device by the playstore or gservice ?
What do you mean?