How to update gradle for Android

To update Android Plugin for Gradle:
You can find the list of available plugin versions in:
Android Studio\gradle\m2repository\com\android\tools\build\gradle\ directory. In my case I have:

  • 1.3.0
  • 1.5.0
  • 2.1.0-alpha3
  • 2.1.0-alpha4

Use the desired version by editing your project build.gradle file.
Example of build.gradle:

dependencies {
    classpath ''

To update Gradle:
In your project directory navigate to \gradle\wrapper\ directory and edit: file.
Example: To change from version 2.8 to version 2.10
before: distributionUrl=https\://
after: distributionUrl=https\://
At the end in Android Studio select: ToolsAndroidSync Project with Gradle files