Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable解决办法

修改Build.Gradle内容,把

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

改为

classpath 'com.android.tools.build:gradle:2.0.+'

App build.gradle:

compile 'com.android.support:recyclerview-v7:21.0.0'
compile 'com.android.support:cardview-v7:21.0.0'

改为

compile 'com.android.support:recyclerview-v7:22.0.0' // latest 23.1.1
compile 'com.android.support:cardview-v7:22.0.0' // latest 23.1.1

重新clean然后build即可。


未经允许不得转载:阿藏博客 » Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable解决办法