and as a result it seems like I'm suddenly exceeding 64k method count and required to use multidex. Is it expected? I thought only several, used methods will be added to my final binary.
our minsdk version is 16. we could enable multidex, however, we are unsure if this is normal or not so..
Cheolho Jeon
04/27/2021, 8:05 AM
we just checked and adding kotlin stdlib only added 9k methods so I think it is normal. We concluded to enable multidex. Thank you @Daniele Favaro!
🎉 1
j
Joost Klitsie
04/27/2021, 8:55 AM
If you are using kotlin 1.4.30 you do not need to add the standard library, it will be added by default
☝️ 1
🙇♂️ 1
m
Martin Feldsztejn
04/27/2021, 2:43 PM
@Cheolho Jeon maybe consider using pro-guard to shrink your library and get rid of unused code. This should allow you to slip by the multidex issue. Although most apps out there use multidex nowadays