美文网首页
AndroidStudio 报错ANDROID_DAILY_OV

AndroidStudio 报错ANDROID_DAILY_OV

作者: 离人歌 | 来源:发表于2017-06-19 09:40 被阅读56次
    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即可。

    相关文章

      网友评论

          本文标题:AndroidStudio 报错ANDROID_DAILY_OV

          本文链接:https://www.haomeiwen.com/subject/agcgqxtx.html