【发布时间】:2016-04-05 03:43:32
【问题描述】:
差不多一周后我运行了我的 android 项目并收到了这条消息:
插件太旧,请更新到最新版本,或设置 ANDROID_DAILY_OVERRIDE 环境变量 “a8faa180fc282060c9b8ec88f9bdcc9072121284”
如何更新我的插件?我使用的是 android Studio 2.0。这是我的 build.gradle 项目文件
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-alpha1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
【问题讨论】:
标签: android android-studio plugins dependencies android-gradle-plugin