title: Lambda expressions not supported -source 1.7 (Android Studio)
body: <p>I was trying to run my android project in Android Studio, but I can't do so.</p>
  
  <p>I am getting this error:</p>
  
  <pre><code>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'.
  &gt; Compilation failed; see the compiler error output for details.
  </code></pre>
  
  <p><strong>I am using JDK 1.8.</strong></p>
  
  <p>Any idea why is this happening? Any resoultion. </p>
  
  <p><em>PS: There are couple of similar questions in Stack but none resolved this problem. Please understand the problem before you tag Duplicate.</em> </p>