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

标签 android android-studio

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

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

最佳答案

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

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
}

广告同步。

关于android - 最近更新后由于旧插件错误无法运行android项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34679781/

相关文章:

Android ImageView 布局重力不起作用

android - 嵌套 fragment 通信

android - 通过子 fragment 访问父 fragment

android-studio - Android Studio将无限更新且不会停止

java - Android apk 即使在模拟器上也无法打开

android - 从 Android Studio 的全局搜索中删除 Dagger 生成的类?

android-studio - Android Studio 录制/截屏不起作用

android-studio - Gradle依赖错误

android - 约束布局 : set height of all views in row to match the tallest one

php - Microsoft Azure 通知错误 : 404 No service is hosted at the specified address