Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error:Execution failed for task ':library:compileReleaseJava'. > #11

Open
pharidali opened this issue Feb 4, 2017 · 1 comment
Open

Comments

@pharidali
Copy link

Error:Execution failed for task ':library:compileReleaseJava'.

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.

How to fix it??

@kyrollos-saad
Copy link

kyrollos-saad commented Jun 24, 2017

Updating my Gradle build version did the trick for me.

Old:

classpath 'com.android.tools.build:gradle:1.0.0'
New:

classpath 'com.android.tools.build:gradle:2.2.3'

PS: original answer from here --> https://stackoverflow.com/questions/21925388/android-studio-error-after-run-the-project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants