Home Features Docs Blog Support GitHub

Error in Gradle Android Studio


(Lucas Matheus Fernandes Mello) #1

I have a problem with sync my app with moe after create the moe module, and when sync the gradle i give this error, can one help me?

I tried re-download dependencies and stop the gradle build process but with not sucess.

Unable to find method 'org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)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.

(Lucas Matheus Fernandes Mello) #2

dont work with new version of android gradle

Only work on gradle version 4.10.1 and plugin 3.3.2 or less


(Adam Nicholas) #3

I have the same issue with Android Studio 3.4 with classpath’com.android.tools.build:gradle:3.3.2’. When I try to upgrade I get the same error.