Kotlin 1.2.50 increases APK size by 97 kb versus 1.2.41


#1

I consider this undesirable.
It seems like the change is a lot of small filess ending in .kotlin_metdata are added. Why is that?


#2

Those .kotlin_metadata files are to help the compiler resolve free functions, extension functions etc. They are not needed in Android (are they included in the apk?) You can strip them out (or use proguard)


#3

That was a release build so Proguard ran. Maybe Proguard hasn’t been updated to remove these files yet?


#4

Please vote for https://youtrack.jetbrains.com/issue/KT-25174