How to update plugins in android studio?

I started my Android project almost a week later and received this message:

The plugin is too old, upgrade it to a later version or set the ANDROID_DAILY_OVERRIDE environment parameter for "A8faa180fc282060c9b8ec88f9bdcc9072121284"

How to update my plugins? I am using android Studio 2.0. Here is my build.gradle project file

// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.0.0-alpha1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() } } task clean(type: Delete) { delete rootProject.buildDir } 
+8
android android-studio plugins android-gradle dependencies
source share
4 answers

Change com.android.tools.build: gradle: 2.0.0-alpha1 to com.android.tools.build:gradle:2.0.0-alpha3, which is the latest version.

+5
source share

Open your IDE. Open the project. Then find the following:

If you use Windows, you go to Help Check for updates

If you are using a Mac, go to Android Studio (next to the Mac symbol in the upper left corner) → Check for updates

Alternatively, when you launch your SDK Manger, it will automatically look for updates for your plugins. Go to SDK Tools.

+2
source share

UDPATE (May-2016)

update to the last

 dependencies { classpath 'com.android.tools.build:gradle:2.1.0' } 

You can specify the version of Gradle in the menu File> Project Structure> Project in Android Studio or by editing the distribution link for Gradle in the gradle / wrapper / gradle -wrapper.properties file

 distributionUrl = https\://services.gradle.org/distributions/gradle-2.10-all.zip 

check gradle changes

 The Android Gradle Plugin and Gradle Android Gradle Plugin Requires Gradle 1.0.0 - 1.1.3 2.2.1 - 2.3 1.2.0 - 1.3.1 2.2.1 - 2.9 1.5.0 2.2.1+ 2.* 2.10+ 

check answer for gradle update

+2
source share

Change the line

classpath 'com.android.tools.build:gradle:2.0.0-alpha1'

to the latest version, for example

classpath 'com.android.tools.build:gradle:2.0.0-alpha3 (latest version at the time of response)

+2
source share

All Articles