编译项目的时候,报如下错误:
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插件的版本改成最新的版本即可
时间: 2024-10-21 23:13:03