title: React native Unsupported major.minor version 52
body: <p>When running </p>
  
  <pre><code>react-native run-android
  </code></pre>
  
  <p>in my project folder, I get the following error:`</p>
  
  <pre><code>java.lang.UnsupportedClassVersionError: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0
  </code></pre>
  
  <p>I've updated java to the latest version and made sure that I've got all the required build tool sdk versions installed:</p>
  
  <pre><code>compileSdkVersion 23
  buildToolsVersion "23.0.3"
  
  defaultConfig {
      applicationId "myappId"
      minSdkVersion 19
      targetSdkVersion 22
      versionCode 1
      versionName "1.0"
      ndk {
          abiFilters "armeabi-v7a", "x86"
      }
  }
  </code></pre>