作者:书友52745226 | 来源:互联网 | 2023-01-31 10:48
在Android Studio 3.0 Canary 1上构建默认项目(黑色模板)时,我收到以下错误.
The android gradle plugin version 3.0.0-alpha1 is too old, please update to the latest version. To override this check from the command line please set the
ANDROID_DAILY_OVERRIDE environment variable to "d27b293f4c7c48dfe922ba160164f3fa511cb3b9"
Upgrade plugin to version 3.0.0-alpha1 and sync project Open File
默认设置有什么问题?
1> Midhu..:
您的代码可能alpha1
在项目build.gradle文件中包含过时的gradle插件版本(可能是,或类似的东西).将其更新为最新的alpha4
插件,如下所示:
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-alpha4'
}