, but i strongly suggest you to use latest build tool as google recommended)īTW: version 2.3.1 of build tool is only exist on jCenter, not MavenCentral, so if you run into error below when run gradlew command line in terminalĬould not find :gradle:2.3.1. If you update this build tools version to 2.3.*, you should also update gradle wrapper version to 3.3 in /yourProjectRoot/gradle/wrapper/gradle-wrapper.properties file. So you can fix it by :Ĭlasspath ':gradle:2.2.0'Īs Android Studio 2.4 stable is not ready to release yet (May 4 2017), the latest stable version of build tools is 2.3.1. One easy way to do this is to add the latest version of the build tools as a dependency in yourĬlasspath ':gradle:2.2.0-beta1'Īnd gradle will download everything you need.Īfter Android Studio 2.2 stable released on, the latest version of the build tools is 2.2.0. Upgrade your gradle build Tools to the latest version. I've searched google and found some solutions like this one but nothing is working. You can try some of the following options: - changing the IDE settings. > Android Gradle plugin requires Java 11 to run. In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes. What went wrong: An exception occurred applying plugin request id: > Failed to apply plugin. 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. Stop Gradle build processes (requires restart) Stopping all Gradle daemons may solve this problem. The state of a Gradle build process (daemon) may be corrupt. Re-download dependencies and sync project (requires network) gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.).Possible causes for this unexpected error include: Since then the gradle build is failing every time with this error:Įrror:Cause: .tasks.DefaultTaskInputs$TaskInputUnionFileCollection cannot be cast to. I've recently updated the gradle version of my project from 2.14.1 to 3.0. > Could not find :gradle:2.2.3.įile:/home/ubuntu/.m2/repository/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pomįile:/home/ubuntu/.m2/repository/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.jarĬan someone explain me why I've got this problem please? > Could not resolve all dependencies for configuration ':classpath'. I'm trying to build my android project using gradle and circleCI, but I've got this error :Ī problem occurred configuring root project ''.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |