Plugin Is Too Old, Please Update to a More Recent Version, or Set Android_Daily_Override Environment Variable To

Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to

Just like CommonsWare suggested, make sure you have Gradle 2.2.1+ (the latest is 2.3).

Make sure you upgrade your Android Studio but here are the "plugins" that need to
be updated:

Top build.gradle:

Change:

classpath 'com.android.tools.build:gradle:1.1.0-rc1'

To:

classpath 'com.android.tools.build:gradle:1.1.3' // latest 1.5.0

App build.gradle:

Change:

compile 'com.android.support:recyclerview-v7:21.0.0'
compile 'com.android.support:cardview-v7:21.0.0'

To:

compile 'com.android.support:recyclerview-v7:22.0.0' // latest 23.1.1
compile 'com.android.support:cardview-v7:22.0.0' // latest 23.1.1

Gradle: https://gradle.org/downloads

Always check the Android SDK Manager for the latest revisions:

Android Build Tools Plugin: http://tools.android.com/tech-docs/new-build-system

Android Support Libraries: http://developer.android.com/tools/support-library/features.html

To view the latest plugin releases, view the Bintray Jcenter page directly: https://bintray.com/android/android-tools/com.android.tools.build.gradle/view.

Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable

Change your build.gradle file to

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

Also navigate to to yourProjectPath/Gradle/wrapper
and open the gradle-wrapper.properties

Change distributionURL with

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

I hope this helps

Android Studio 2.0 - Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to

UH OH, Google Notice: "This website no longer provides downloads for Android Studio."

(Old 'channel' links no longer work. Links in this answer have been updated to the new formats, make sure to change your bookmarks if you were using them)

You need to update the version of the gradle tools you are building with. This can be found inside the dependencies section of your build.gradle. You have 3 options you can update to:

The latest stable version referenced in the release channel as of 2nd March, 2017 is

classpath 'com.android.tools.build:gradle:2.3.0' 

Or the latest beta version via preview channel as of 15th February, 2017 is

classpath 'com.android.tools.build:gradle:2.3.0-beta4'

And the latest alpha version also from the preview channel as of 21st March, 2017 gives you the option to use

classpath 'com.android.tools.build:gradle:2.4.0-alpha3' 

Updating requires you to also upgrade the gradle wrapper. As of 20th February '17, the newest is:

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

On android studio you can find your wrapper by changing to the project view and looking in gradle/wrapper/gradle-wrapper.properties

Sometimes after changing wrapper the project will fail to compile with an error like “Minimum supported Gradle version is 2.14.1. Current version is 2.10. Try changing Gradle distribution version to...” despite already having the correct version in gradle-wrapper.properties. If that happens try the following:

Go to Settings > Build, Execution, Deployment > Gradle

Under Project-level settings ensure that Use default gradle wrapper (recommended) is the selected option, then re-build your project.

(Additional Note: With regards to the alpha and beta versions - there is not always a newer build than the stable version when I check, in those cases I've just given values for the previous version. This allows you to roll back to that version if you experience issues with the released version)

Plugin is too old, please update to a more recent version,or set ANDROID_DAILY_OVERRIDE (Note:I use Android Studio 2.0 Preview 9 Version)

I deleted the Android Studio 2.0 Preview 9 and I loaded Android Studio 1.5.1 after that the problem solved. Thanks you guys helping to me..

Android RecyclerView Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable

I just updated my Android support library, Local Maven repository for support Libraries and Tools
and added this in build.gradle and it worked.

compile 'com.android.support:appcompat-v7:23.2.0'
compile 'com.android.support:cardview-v7:23.2.0'
compile 'com.android.support:recyclerview-v7:23.2.0'

Android - PLUGIN IS TOO OLD,PLEASE UPDATE TO A MORE RECENT VERSION OR SET ANDROID_DAILY_OVERRIDE

Here is the full answer from my comments.

You need to use the same version of gradle for all submodules of your project.
You can see a list of submodules by choosing "Android" presentation in you Project View and expand "Gradle Scripts" section. You will see all build.gradles that are included into your project.



Related Topics



Leave a reply



Submit