Getting error “Gradle version 1.10 is required. Current version is 1.12.” when executing “gradle wrapper”?
问题 I'm trying to execute gradle wrapper for an Android project, and this error is raised: A problem occurred evaluating root project 'myapp'. > Gradle version 1.10 is required. Current version is 1.12. If using the gradle wrapper, try editing the distributionUrl in /Users/dude/myapp/gradle/wrapper/gradle-wrapper.properties to gradle-1.10-all.zip My wrapper task in build.gradle looks like this: task wrapper(type: Wrapper) { gradleVersion = "1.12" } I recently updated to Gradle v1.12 via Homebrew.