Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE
来源:互联网 发布:黑苹果安装ubuntu 编辑:程序博客网 时间:2024/05/21 08:59
今天下午打开Android studio,提示有更新,我表示觉得很不想更新(这习惯似乎不好,哈哈),然后我就点了Ignore……,到后面我新建Project之后是酱紫的:
16:04:46 Gradle sync failed: Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "bcad82779eeae871fd8ac883cfc424c96752ef
答案说得很清楚,更新Gradle或者新建一个环境变量
首先我使用的是第一个方法,下好了2.12版本,然后我就改了as的gradle的localtion,然而我重启还是报错,找了一大片方法,什么设置环境变量,还有其他的什么乱七八糟的都不行,最后找到了解决方法:
http://downloads.gradle.org/distributions/gradle-2.14-all.zip
想要什么版本就改成什么,2.13,2.14……一般最新版,嘿嘿,下载之后解压,然后打开AS的这个界面:然后打开这个地址
打开之后将这个替换为你的,也许到时候是2.15,最后把原本的2.14这个目录删掉。
最后的最后,重启AS,应该就OK了。
要是还是不行,请打开项目的gradle-wrapper.properties文件,将
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-all.zip
最后的那个2.14改成你的Maybe2.15……
最后的最后,如果还是不行,就百度android studio设置使用离线的gradle;
第二种方法:
我也试过了,成功了的。在我的电脑-->高级设置--->环境变量--->系统变量新建变量
ANDROID_DAILY_OVERRIDE
bcad82779eeae871fd8ac883cfc424c96752ef64
然后重启AS就可以了。
总结:第一种方法我能理解,第二种方法虽然能解决问题,我很遗憾我并不理解为什么,希望有人能告诉我答案,或者我自己明白了再补上……
- 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..
- Plugin is too old,please update to a more recent version,or set ANDROID_DAILY_OVERRIDE environment v
- 解决Plugin is too old,please update to a more recent version,or set ANDROID_DAILY_OVERRIDE..
- Plugin is too old,please update to a more recent version,or set ANDROID_DAILY_OVERRIDE environment v
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE envrinment
- 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 environmen
- 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
- 解决Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE
- 解决“Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environ”
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environmen
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE
- 解决Plugin is too old,please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environm
- 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_OVERRID
- XXX Plugin is too old,please update to a more recent version, or set Ant ...
- 015.ViewRoot和DecorView
- 获取android系统中已安装程序的信息
- js的常用技巧
- ssh集成(struts2+spring+hibernate)
- 删除大文件后空间无法释放的问题处理
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE
- mysql常用基础操作语法(七)--统计函数和分组查询【命令行模式】
- 驼峰命名法等命名规范
- hive学习(2)——安装
- 仿函数可配接性探讨
- java线程协作,经典生产者/消费者模式(一、synchronized互斥)
- Python连接mssql server
- IPython & Cython
- 2016职称计算机哪几门更容易通过?