Android Studio continues to get a Unsupported major.minor version 52.0
Try menu File - > Invalidate caches and restart
. Also make sure gradle plugins are latest:
classpath 'com.android.tools.build:gradle:2.1.0'
Set your JAVA_HOME to use jdk 1.8.
Also check your SDK location in Android Studio:
File->Other Settings->Default Project Structure->SDKs
This got me working on my MAC:
Goto>> File > Project Structure... > SDK Location (in left column) > JDK location section: Check
Use embedded JDK (recommended)
Fix for me was
1) Update android studio to latest (2.2 as of now)
2) Install SDK 24