您的位置:首页 > 其它

Plugin is too old, please update to a more recent version 解决办法 2016.1.2

2016-01-02 15:51 555 查看
Android studio在更新了2.0之后,新建项目,遇到了如下问题:

Error:(1, 0) Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "300a703cef4ee5ebce05b6fd5b3a49f4e03961e2"

<a href="fixGradleElements">Fix plugin version and sync project</a><br><a href="openFile:D:\android-studio-location\ViewPager_fragment2\app\build.gradle">Open File</a>



解决办法就是改变项目的build.gradle中的内容,如下图所示:

这是产生错误的地方:



改正之后的结果:






改过之后项目就不再报错了,其中具体原因就由读者自己去深究了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: