AndroidStudio 报错ANDROID_DAILY_OVERRIDE

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即可。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容