Answer the question
In order to leave comments, you need to log in
How to resolve error in Android Studio Gradle?
I am developing an application for Android for the first time, I encountered such an error during the build, I tried to install Gradle, it still appears, please tell me how to solve it?
Unable to find method 'org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V'
org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V
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
third restart) Your project may be using a-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.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question