目前,我在尝试解决 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/