Compiler error - method refrences not supported

I am trying to compile using ant extensions but I am getting this error, also tried with Colin Compiler but same...

Is java version of compile below JAVA 7?
How can I solve this issue?

Is there any way to install JAVA 8 for creating extensions?

1 Like

Android is based on Java 6.

2 Likes

:pleading_face: :pleading_face: :sob:

So what should I do? I got the code from StackOverflow...
How can I change my code?

Replace lambda with method reference.

1 Like