简体   繁体   中英

Can't update gradle plugin to 1.3.0-beta4 in Android Studio 1.3

While exploring new API's and features shipped with Android "M", I came across new data binding framework. So, I followed step-by-step guide from Android Authority and Android Developer's post to see this in action. To use data binding, project requires gradle plugin 1.3.0-beta4.But if I try to update, it gives me error something like this:

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

Could someone explain me how to resolve this issue?

如评论中所述,您需要修改gradle文件以删除beta4字,新行应如下所示:

classpath "com.android.tools.build:gradle:1.3.0"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM