Error:(1, 0) Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRID

本文提供了不同渠道下最新的Gradle版本信息及更新指南。包括稳定版、Beta版和Alpha版的具体版本号,以及如何通过Gradle Wrapper进行更新的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

这个是一个老掉牙的问题,并且解决途径各异。更诡异的是本来好好的,过了个周末发现就不行了。我严重怀疑这个gradle文件的编译可能会依赖服务器,并且有一些强制的要求。

贴出来一个答案,大家从这个答案去寻找思路吧。

The latest stable version referenced in the release channel as of 6th June, 2016 is

classpath 'com.android.tools.build:gradle:2.1.2' 

Or the latest beta version via dev channel / beta channel as of 8th June, 2016 is

classpath 'com.android.tools.build:gradle:2.2.0-alpha3'

And the latest alpha version from the canary channel as of 8th July, 2016 gives you the option to use

classpath 'com.android.tools.build:gradle:2.2.0-alpha5' 

Updating requires you to use the gradle wrapper for 2.10 if you were still on 2.8

distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip

On android studio you can find your wrapper by changing to the project view and looking in gradle/wrapper/gradle-wrapper.properties


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值