MAC Android Studio| Error: The android gradle plugin version 3.0.0-alpha1 is too old

building 报错

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 “********************************
Upgrade plugin to version 3.0.0-alpha1 and sync project Open File

解决办法

在终端(terminal) 输入

launchctl setenv ANDROID_DAILY_OVERRIDE *******************************

执行后重启Android Studio

猜你喜欢

转载自blog.csdn.net/u014754127/article/details/79219375