Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Value '/Applications/Android Studio.app/Contents/jre/Contents/Home' given for org.gradle.java.home Gradle property is invalid (Java home supplied is invalid)

Prabhugoud Patil answered on February 20, 2023 Popularity 7/10 Helpfulness 5/10

Contents


More Related Answers

  • roovy.lang.MissingPropertyException: No such property: scope for class: com.android.build.gradle.internal.variant.ApplicationVariantData
  • roovy.lang.MissingPropertyException: No such property: scope for class: com.android.build.gradle.internal.variant.ApplicationVariantData
  • * What went wrong: Value 'C:\Program Files\Java\jdk1.8.0_111' given for org.gradle.java.home Gradle property is invalid (Java home supplied is invalid)
  • ERROR: JAVA_HOME is set to an invalid directory: /Applications/Android Studio.app/Contents/jre/Contents/Home

  • Value '/Applications/Android Studio.app/Contents/jre/Contents/Home' given for org.gradle.java.home Gradle property is invalid (Java home supplied is invalid)

    1

    Check the global gradle configuration in C:\Users\\.gradle

    In your android project you will have a file named gradle.properties

    Delete org.gradle.java.home=C:\\Program Files\\Java\\jdk1.8.0_144

    Popularity 7/10 Helpfulness 5/10 Language java
    Source: Grepper
    Tags: gradle java
    Link to this answer
    Share Copy Link
    Contributed on Feb 20 2023
    Prabhugoud Patil
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.