I'm using Android Studio on Ubuntu 12.04. I was using
classpath 'com.android.tools.build:gradle:2.0.0-alpha1'
But I got an error saying plugin is too old so I changed aphla1 to alpha6
classpath 'com.android.tools.build:gradle:2.0.0-alpha6'
But now I have a warning saying
Warning:Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in /home/ameya/AndroidStudioProjects/myproject/gradle/wrapper/gradle-wrapper.properties to gradle-2.10-all.zip
Accordingly I changed the distributionUrl from 2.8 to 2.10 but still the warning exists and it shows Gradle project sync completed with some errors. Please help