15
votes

I got this weird error.

Warning:Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in D:\RaymondAndroidProjects\testPaypal\gradle\wrapper\gradle-wrapper.properties to gradle-2.10-all.zip

3
Are you using uptodate Android Studio. If not update it and update the support Libraries as well - playmaker420
what so weird about that? just change your gradle version in gradle-wrapper.properties in your project - Randyka Yudhistira
That's a pity. And what you want from us? You forgot to tell that. - Vladyslav Matviienko
Welcome to SO. Please learn how to ask - Phantômaxx

3 Answers

14
votes

Go to File > Settings > Build, Execution, Deployment > Build Tools > Gradle.
Choose Use default gradle wrapper

10
votes

last time started a new project i also got this problem, solved by change my Project build.gradle dependencies classpath from

classpath 'com.android.tools.build:gradle:2.0.0-alpha1'   

to

classpath 'com.android.tools.build:gradle:2.0.0-alpha3'
8
votes

set Use default gradle wrapper and edit Project\gradle\wrapper\gradle-wrapper.properties files field distributionUrl like this

distributionUrl=https://services.gradle.org/distributions/gradle-2.10-all.zip

enter image description here

enter image description here