title: I replace java 8 with java 7 android studio error?
body: <p>why I replace JAVA 8 with JAVA 7,Android studio error? </p>
  
  <pre><code>&gt; Error:Error converting bytecode to dex:
  Cause: Dex cannot parse version 52 byte code.
  This is caused by library dependencies that have been compiled using  Java 8 or above.
  If you are using the 'java' gradle plugin in a library submodule add 
  targetCompatibility = '1.7'
  sourceCompatibility = '1.7'
  to that submodule's build.gradle file.
  Error:...while parsing android/support/v7/recyclerview/R$attr.class
  Error:Error converting bytecode to dex:
  Cause: Dex cannot parse version 52 byte code.
  This is caused by library dependencies that have been compiled using Java 8 or above.
  If you are using the 'java' gradle plugin in a library submodule add 
  targetCompatibility = '1.7'
  sourceCompatibility = '1.7'
  to that submodule's build.gradle file.
  Error:...while parsing android/support/v7/recyclerview/R$dimen.class
  Error:Error converting bytecode to dex:
  Cause: Dex cannot parse version 52 byte code.
  This is caused by library dependencies that have been compiled using Java 8 or above.
  If you are using the 'java' gradle plugin in a library submodule add 
  targetCompatibility = '1.7'
  sourceCompatibility = '1.7'
  to that submodule's build.gradle file.
  Error:...while parsing android/support/v7/recyclerview/R$id.class
  Error:Error converting bytecode to dex:
  Cause: Dex cannot parse version 52 byte code.
  This is caused by library dependencies that have been compiled using Java 8 or above.  
   If you are using the 'java' gradle plugin in a library submodule add 
  targetCompatibility = '1.7'
  sourceCompatibility = '1.7'
  to that submodule's build.gradle file.
  Error:...while parsing android/support/v7/recyclerview/R$styleable.class 
  Error:Error converting bytecode to dex:
  Cause: Dex cannot parse version 52 byte code.
  This is caused by library dependencies that have been compiled using Java 8 or above.
  If you are using the 'java' gradle plugin in a library submodule add 
  targetCompatibility = '1.7'
  sourceCompatibility = '1.7'
  to that submodule's build.gradle file.
  Error:...while parsing android/support/v7/recyclerview/R.class
  Error:Error converting bytecode to dex:
  Cause: Dex cannot parse version 52 byte code.
  This is caused by library dependencies that have been compiled using Java 8 or above.
  If you are using the 'java' gradle plugin in a library submodule add 
  targetCompatibility = '1.7'
  sourceCompatibility = '1.7'
  to that submodule's build.gradle file.
  Error:...while parsing com/example/administrator/comjarlib/R$anim.class
  Error:Error converting bytecode to dex:
  ............
  </code></pre>
  
  <p>I think to use retroLambda in Android Studio.</p>
  
  <p>Anyone facing similar issue / resolved can give some pointer to resolve it.</p>
  
  <p>I am using Android Studio 2.1 Preview 3 with grade 2.10</p>