Error:(1, 1) A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
> Could not create plugin of type 'AppPlugin'.
> The android gradle plugin version 2.4.0-alpha7 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 "812268cd775be65388b7d113641d34a880c7be0e"
在AndroidStudio命令行
输入以下命令并回车
launchctl setenv ANDROID_DAILY_OVERRIDE 812268cd775be65388b7d113641d34a880c7be0e
重启AndroidStudio即可。