https://kotlinlang.org logo
#android
Title
# android
j

jw

09/20/2017, 2:35 PM
jre8 has constructs which use APIs only available from Java 8 onward which limits your compatibility more than jre7 which uses APIs only available from Java 7 onward
a

akshaychordiya

09/20/2017, 2:42 PM
I get it. But does it mean that JRE8 won't work on API 24 or lower? Secondly the dex count should go lower with Kotlin JRE8. Right?
j

jw

09/20/2017, 2:46 PM
Yes. No. Respectively.
jre8 adds functionality so there are more methods. Either you're using ProGuard in which case that doesn't matter or you're not using ProGuard in which case it doesn't matter.
👍 6
a

akshaychordiya

09/20/2017, 2:59 PM
Great insight. Thanks
3 Views