The android gradle plugin version 2.3.0-beta2 is too old, please update to the latest version.

編譯項目的時候,報以下錯誤:android

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.3.0-beta2 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 "eac1b1d377923812adc319e11543d9620f964b6f"

 

解決辦法:將build.gradle文件中gradle插件的版本改爲最新的版本便可app

相關文章
相關標籤/搜索