如何更新com.android.application插件?

我收到这条消息:
Plugin is too old,please update to a more recent version,or set ANDROID_DAILY_OVERRIDE environment variable to
"a9d6c794295e89d95704157e2ed8fd55ffd2765c"

和:

C:\path\mobile\build.gradle
Error:(1) A problem occurred evaluating project ':mobile'.
Failed to apply plugin [id 'com.android.application']
Could not create plugin of type 'AppPlugin'.

top build.gradel文件

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.3.0-beta1'
        classpath 'com.google.gms:google-services:1.3.0-beta1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

基本上,我不知道如何更新该com.android.application插件.

解决方法

显然,Gradle for Android插件的测试版将过期. AFAIK,这是没有记录的行为.现在,我知道的唯一方法就是通过监控 http://tools.android.com/tech-docs/new-build-system来了解最新的测试版本.它实际上显示了beta3;我原以为最新的是beta2.

相关文章

Android性能优化——之控件的优化 前面讲了图像的优化,接下...
前言 上一篇已经讲了如何实现textView中粗字体效果,里面主要...
最近项目重构,涉及到了数据库和文件下载,发现GreenDao这个...
WebView加载页面的两种方式 一、加载网络页面 加载网络页面,...
给APP全局设置字体主要分为两个方面来介绍 一、给原生界面设...
前言 最近UI大牛出了一版新的效果图,按照IOS的效果做的,页...