Skip to content
This repository was archived by the owner on Sep 8, 2023. It is now read-only.
This repository was archived by the owner on Sep 8, 2023. It is now read-only.

Android-analyser not working with gradle 4.0.0-alpha04 #25

Description

@KatieBarnett

I upgraded to the gradle version 4.0.0-alpha04 from 4.0.0-alpha03 today and android-analyser stopped my builds from working. When I commented out the plugin they worked again. I am using that version of gradle so I can use the latest canary Android Studio which requires this.

Using 1.4.1 version of android-analyser.

Errors received:

Unable to find method 'org.gradle.testing.jacoco.tasks.JacocoReport.setClassDirectories(Lorg/gradle/api/file/FileCollection;)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.
A problem occurred configuring project ':app'.
> Could not create task ':app:androidAnalyzerJacoco'.
   > org.gradle.testing.jacoco.tasks.JacocoReport.setClassDirectories(Lorg/gradle/api/file/FileCollection;)V

I tried the recommended solutions multiple times to no avail.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions