I was trying to run my android project in Android Studio, but I can't do so.
I am getting this error:
Error:(23, 47) error: lambda expressions are not supported in -source 1.7
(use -source 8 or higher to enable lambda expressions)
Error:Execution failed for task ':app:compileDebugJava'.
> Compilation failed; see the compiler error output for details.
I am using JDK 1.8.
Any idea why is this happening? Any resoultion.
PS: There are couple of similar questions in Stack but none resolved this problem. Please understand the problem before you tag Duplicate.