I have added retrolambda to my android project but when I try to run the project it shows the following error.
Error:Execution failed for task ':app:compileRetrolambdaDebug'. A problem occurred starting process 'command 'C:\Program Files\Java\jdk1.8.0_71\bin\java.exe''
I have added the library as following
in build.gradle (project file) under dependencies
classpath 'me.tatarka:gradle-retrolambda:3.2.3'
classpath 'me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2'
in build.gradle (app module) file I have applied it as plugin.
apply plugin: 'me.tatarka.retrolambda'
project build without error but when I try to run it, it shows the above error. what can be the issue here?
I use retrolambda in AndroidStudio 2.2.3.
My app build.gradle
My project build.gradle