Error:...while parsing LambdaConverter.class Error:1 error; aborting Error:Execution failed for task ':app:transformClassesWithDexForDebug'
<p>Getting this build error in Android Studio. Did anybody face this kind of error? How to resolve this?</p>

<pre><code>Error:PARSE ERROR:
Error:unsupported class file version 52.0
Error:...while parsing com/thoughtworks/xstream/converters/reflection/LambdaConverter.class
Error:1 error; aborting
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
&gt; com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
</code></pre>