Error:compileSdkVersion android-L requires compiling with JDK 7
Open SDK Settings
Problem Description:The default java 1.6 on Mac is located at
You need Java 1.7 to compile android-L
Solution:Download the newest Java from Oracle site.
$ java -version
java version "1.8.0_20-ea"
Set location of Java JDK to newest Java you have installed