Change the classpath in Build.gradle to 2.0.+
dependencies {
' com.android.tools.build:gradle:2.0.+ '
Then an error occurs
Warning:gradle version 2.10 is required. Current version is 2.8. If using the Gradle wrapper, try editing the Distributionurl in/home/zhangsf/androidstudioprojects/smstest/gradle/ Wrapper/gradle-wrapper.properties to Gradle-2.10-all.zip
Error: (1, 1) A problem occurred evaluating project ': App '.
> Failed to apply plugin [id ' com.android.application ']
> Gradle version 2.10 is required. Current version is 2.8. If using the Gradle wrapper, try editing the Distributionurl in/home/zhangsf/androidstudioprojects/smstest/gradle/ Wrapper/gradle-wrapper.properties to Gradle-2.10-all.zip
Gradle Home:/home/zhangsf/android-studio/gradle/gradle-2.10
Pit Error in Androidstudio: (1, 0) Plugin is too old, please update to a more recent version, or set Android_daily_overrid