首页 > 代码库 > The android gradle plugin version 2.3.0-beta2 is too old, please update to the latest version.

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

编译项目的时候,报如下错误:

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插件的版本改成最新的版本即可

 

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