早上打开Android Studio,忽然报了个错,说gradle plugin版本过低,让更新或者设置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文件:
gradle版本为2.2.0-beta1,修改为2.2.+,如下图:
然后,就好了。