title: Getting error when trying to run new project in Android Studio 2.2.1
body: <p>I just updated to Android Studio 2.2.1 for Mac. Then I updated the JDK to version 8. Tried to start a new project and run it. I got the following error:  </p>
  
  <p>Error:(1, 1) A problem occurred evaluating project ':app'.</p>
  
  <blockquote>
    <p>java.lang.UnsupportedClassVersionError: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0</p>
  </blockquote>
  
  <p>I also tried going back to JDK version 7 as it says on google site that JDK 8 is unstable for Mac. still got the same error.</p>