gpt4 book ai didi

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

转载 作者:塔克拉玛干 更新时间:2023-11-02 19:06:12 24 4
gpt4 key购买 nike

我收到这条消息:

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 插件。

最佳答案

我只是需要换行

类路径 'com.android.tools.build:gradle:2.0.0-alpha1'

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

我知道它是 alpha3 因为最后的发行说明 http://tools.android.com/tech-docs/new-build-system .

关于android - 如何更新 com.android.application 插件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31293276/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com