Blogger Tips and TricksLatest Tips And TricksBlogger Tricks

Error:Execution failed for task ':app:compileDebugJava'. > Cannot find System Java Compiler.

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.



SOLUTION

<div class="code">

Update Gradle build version to 2.2.3
Old:
classpath 'com.android.tools.build:gradle:1.0.0'
New:
classpath 'com.android.tools.build:gradle:2.2.3'
</div>

1 comment:

  1. i am getting error for digital signature program.kindly provide solutions.

    ReplyDelete

Flag Counter