3 ms·
Nobody has made Android support Kotlin. Kotlin compiles to Java 6 bytecode. If someone made a Java 8 source or bytecode to Java 6 bytecode compiler, including s
by chrisseaton 11y ago
Nobody has made Android support Kotlin. Kotlin compiles to Java 6 bytecode. If someone made a Java 8 source or bytecode to Java 6 bytecode compiler, including support for the changes in the standard library, that would also work, but nobody has done that, so it doesn't.
- nileshk 11y agoI'm not sure how much success Android developers are having with this, but Retrolambda combined with streamsupport (java.util.stream) and ThreeTen (java.time) makes Java 8 on Android possible: https://github.com/orfjackal/retrolambda https://github.com/orfjackal/retrolambda Sounds like there might be some things that are missing or incomplete, but having lambdas and the Stream API would be a huge step forward.