0

I just upgraded to the new Android Studio 2.0. When I started up the IDE, it prompted me to update gradle. I clicked yes. Now everytime I run my project, I get this build message

/Users/Package/app/build.gradle
Error:Gradle version 2.10 is required. Current version is 2.2.1. If
using the gradle wrapper, try editing the distributionUrl in /Users/
gradle/wrapper/gradle-wrapper.properties to gradle-2.10-all.zip

How can I keep the updated version of gradle, so that I don't have to down-grade every time that I want to run the app.

1 Answers1

0

you should change the gradle url in gradle/wrapper/gradle-wrapper.properties

Matias Elorriaga
  • 8,880
  • 5
  • 40
  • 58
  • Sorry but... Change `gradle url` to what? I believe this answer just repeats what the error message is already saying and if that worked people would not need come here to read it. It might as well just be something like "Follow the error message" and it would be as useful :( – Felipe Sabino Jun 27 '16 at 16:03