This is on my mac at home. On the one at work I dont have this problem. The error message is:
*Error:Execution failed for task ':app:compileDebugJava'.* *> Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory.* I have set the JDK directory in Android Studio File->OtherSettings->default project structure->jdk location and my JAVA_HOME to */Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home* running /usr/libexec/java_home gives the same as above *java -version* java version "1.7.0_60-ea" Java(TM) SE Runtime Environment (build 1.7.0_60-ea-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode) *javac -version* javac 1.7.0_60-ea Something about my mac setup must be fooling gradle and/or Android Studio, but I have no idea what cheers -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
