roomorama / Caldroid

A better calendar for Android
Other
1.42k stars 532 forks source link

Error:Execution failed for task ':caldroid:compileDebugJavaWithJavac'. > 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. #453

Open priyankapc opened 7 years ago

priyankapc commented 7 years ago

Hello ,

I have downloaded code and trying to import in android studio. But I am not able to build apk. its giving me error

**.Error:Execution failed for task ':caldroid:compileDebugJavaWithJavac'.

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.**

karora123 commented 6 years ago

Hi, I am also facing same issue. whereas I am compiling android using iotivity framework. My error message below. processDebugJavaRes UP-TO-DATE :compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

Suganyasrii commented 5 years ago

Things to do to get result:

  1. Change the build gradle version in project level -> (based on your android version)
  2. Change the Target and Min SDK versions
  3. Under gradle -> In gradle wrapper properties change distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip.