skip to Main Content

ERROR: JAVA_HOME is set to an invalid directory: C:Program FilesJavajdk1.8.0_211
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
Exception: Gradle task assembleDebug failed with exit code 1

I had set the direction in the System Properties, but it didn’t help

2

Answers


  1. You need to add path for HOME directory of JDK Folder

    C:Program FilesJavajdk1.8.0_211ContentsHome
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search