I am using retrolambda in my Android project. But it fails to build with following message.
Execution failed for task ‘:app:compileInternalDebugJavaWithJavac’.
When running gradle with java 5, 6 or 7, you must set the path to jdk8, either with property retrolambda.jdk or environment variable JAVA8_HOME
Please suggest me any solution. My whole CI experience is suffering because of this.