由于最近更新后的旧插件错误,无法运行android项目

时间:2016-01-08 14:49:42

标签: android android-studio

目前,我在尝试解决android studio中的旧插件错误时遇到了麻烦。我得到以下错误,但不知道如何解决 问题。 stackoverflow中存在类似的问题,但解决方案都没有帮助。这里有谁可能知道解决方案? 如果有的话,一些一步一步的解释会很棒!我很乐意来到你这里!

  

错误:(1,0)插件太旧,请更新到更新版本   版本,或将ANDROID_DAILY_OVERRIDE环境变量设置为   " fabe6db51edae26ca766bdae73"

1 个答案:

答案 0 :(得分:1)

在项目的build.gradle文件中,更改依赖项部分

中的buildscript块
dependencies {
    classpath 'com.android.tools.build:gradle:something'

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

这个

dependencies {
    classpath 'com.android.tools.build:gradle:2.0.0-alpha3'

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

广告同步。