
Its just that for some reason, on one machine, Android Studio / Gradle pops this error message. The setup is the same as far as I can tell. On my other mac, I dont have any problems. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory. Android studio works with the Apple provided JDK1.6, but when I install Oracle JDK1.7, which is required for the projects I am doing, it bombsĮrror:Execution failed for task ‘:app:compileDebugJava’. In Android Studio and Eclipse I am having issues with the gradle-build bombing out with errors that the web tells me are related to the JDK.


This issue appears to be related directly to a bizarre gradle/osx interaction, rather than the IDEs using Gradle.
