Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The android gradle plugin version 3.0.0-alpha1 is too old

While building a default project (black template) on Android Studio 3.0 Canary 1, I got the below error.

The android gradle plugin version 3.0.0-alpha1 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 "d27b293f4c7c48dfe922ba160164f3fa511cb3b9" 
Upgrade plugin to version 3.0.0-alpha1 and sync project Open File

What's wrong with the default setting?

like image 452
Elye Avatar asked Jan 01 '26 10:01

Elye


1 Answers

Your code may be containing an outdated gradle plugin version (may be alpha1, or something like that) in your project build.gradle file. Update it to the latest alpha4 plugin like below:

dependencies {
    classpath 'com.android.tools.build:gradle:3.0.0-alpha4'
}
like image 64
Midhu Avatar answered Jan 05 '26 07:01

Midhu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!