Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment

错误提示:

Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "a7fe329839d6518e9c116ccaa357e2c79c65192e"



我Studio的版本是2.0.0 Beta6

发现主工程下的build:gradle文件的buildscript - dependencies 被改成2.0.0-beta6(误操作了),如下

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.0.0-beta6'
    }
}

修改为后,重新构建即可,如下

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'
    }
}


你可能感兴趣的:(Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment)