javaandroidlambdajack-toolchain

Android lambda expression settings


I want to use lambda expressions in my Android project, I followed the Android guide to set up the Jack compiler and it did work.

However, the guide also mentions a known issue that the Jack compiler does not support instant run, and I found it is really time consuming to recompile all the Java files every time.

So, is there any other compiler that can generate intermediate class files, so that I do not have to recompile all the files every time?


Solution

  • Although it is not official library by Google, I recommend you retrolambda. I think that retrolambda is easier and more simple than Jack Compiler.