Android Studio, gradle plugin is too old or set ANDROID_DAILY_OVERRIDE

早上打开Android Studio,忽然报了个错,说gradle plugin版本过低,让更新或者设置ANDROID_DAILY_OVERRIDE环境变量:

Android Studio, gradle plugin is too old or set ANDROID_DAILY_OVERRIDE

日志如下:

INFO - ls.idea.gradle.GradleSyncState - Sync with Gradle for project ‘advance’ failed: Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to “15d1beac634bce32a315b0ad7c3040f2104f6d3”

查看主gradle文件:

Android Studio, gradle plugin is too old or set ANDROID_DAILY_OVERRIDE

gradle版本为2.2.0-beta1,修改为2.2.+,如下图:

Android Studio, gradle plugin is too old or set ANDROID_DAILY_OVERRIDE

然后,就好了。

上一篇:infragistics-webdatagrid


下一篇:错误异常 (1)Android Studio错误提示:Gradle project sync failed. Basic functionality (eg. editing, debugging) will not work properly