导项目出现Upgrade plugin to version 3.0.0-alpha1 and sync project

下面这一段是出错信息
Error:(1, 0) 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 “32ce7108bc74319139a45b2ab826bc3c2b8ea1f”
Upgrade plugin to version 3.0.0-alpha1 and sync project
Open File

截图出错信息在这里插入图片描述

点击openfile打开该文件

在这里插入图片描述

将上面红色标记的-alpha1删除重新编译如下图所示

在这里插入图片描述
点击try Again

有可能出现以下这种状况

在这里插入图片描述

直接双击就可以了,希望能帮到有些人多多支持我哈哈

猜你喜欢

转载自blog.csdn.net/xieyaofeng/article/details/85064558