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


showing error on running project, tried solution available it's not working. thing left set android_daily_override environment variable, struggling so.

how can set android_daily_override environment variable on mac?

change build.gradle file to

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

also navigate to yourprojectpath/gradle/wrapper , open gradle-wrapper.properties

change distributionurl with

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

i hope helps


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -