Error: Unable to find method org.gradle.internal.logging.progress.DefaultProgressLoggerFactory.<init>(ProgressListener, TimeProvider)

Viewed 577

I have got an error :

Gradle Sync Issues
Error:Error:Unable to find method 'org.gradle.internal.logging.progress.DefaultProgressLoggerFactory.<init>(Lorg/gradle/internal/logging/progress/ProgressListener;Lorg/gradle/internal/TimeProvider;)V'.

Possible causes for this unexpected error include:

  • Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network)
  • The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. Stop Gradle build processes (requires restart)
  • Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

I already try to updated Android IDE and gradle, but nothing changes.

Here my configuration :

  • Android 3.0.1 (Also tried 3.1 Canary 4 Preview)
  • Gradle 4.1.0
  • Ubuntu 16.04
1 Answers

Updating from Oracle JDK 8 to Oracle JDK 9 fixed this problem for me on Ubuntu 17.04, perhaps that might work on 16.04 too.

Related