Unable to find method 'org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V'.
See original GitHub issueIssue details
Unable to find method ‘org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V’.
Reproduction steps/code
Upgrade android Gradle plugin to 3.4.0 version and Gradle 5.1.1
Version of LibGDX and/or relevant dependencies
GdxVersion = 1.9.9 Android gradle plugin = 3.4.0 KotlinVersion = 1.3.31 GradleVersion = 5.1.1
Stacktrace
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.
Please select the affected platforms
- Android
- iOS (robovm)
- iOS (MOE)
- HTML/GWT
- Windows
- Linux
- MacOS
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:16 (4 by maintainers)
Top Results From Across the Web
3 - Stack Overflow
Unable to find method 'org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V'. Possible causes for this unexpected ...
Read more >5.1.1 setBootClasspath issue - Help/Discuss - Gradle Forums
1 from 4.7 I noticed that issue: Unable to find method 'org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V'.
Read more >dronekit/dronekit-android - Gitter
While running the app i'm getting this error:- Unable to find method 'org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V'.
Read more >亲问下身份证识别,有没有可以用的demo? - 百度AI开放平台
ERROR: Unable to find method 'org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V'. Possible causes for this unexpected error ...
Read more >Build Gradle fails after i switch from Internal to ... - Unity Forum
org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String ;) V * Try: Run with --stacktrace option to get the stack ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
SampleProject/gradle/wrapper/gradle-wrapper.properties
distributionUrl=https://services.gradle.org/distributions/gradle-5.1.1-all.zip ▼ change distributionUrl=https://services.gradle.org/distributions/gradle-4.6-all.zip
Update the classpath ‘com.android.tools.build:gradle:3.1.0’ in your project gradle.