Android error: Failed to notify project evaluation listener. > org.gradle.api.internal.TaskInputsInternal.property


Example error:

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
   > org.gradle.api.internal.TaskInputsInternal.property(Ljava/lang/String;Ljava
/lang/Object;)Lorg/gradle/api/tasks/TaskInputs;

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.1

<strong>Solution:</strong>

<strong>Step 1: </strong>

edit File: build.gradle

1    dependencies {
        classpath 'com.android.tools.build:gradle:4.1.0'

    }

Step 2:

edit File: wrapper/gradle-wrapper.properties

distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip

Leave a Reply