Reputation: 16609
I updated to android studio 2.0 to preview 6.
I got this error message:
Error:(1, 0) Plugin is too old, please update to a more recent version,
or set ANDROID_DAILY_OVERRIDE environment variable to "aed79d567e57792ed352e708d2b7ca891ff897c6"
When i click on the options Fix plugin version and sync project
Project get synced but nothing happens.
When i click on Open File, it opens build.gradle
file which associated to App module. it puts the cursor on this line:
apply plugin: 'com.android.application'
Any clue what is the ANDROID_DAILY_OVERRIDE environment variable ? or what can be this error ?
Upvotes: 6
Views: 403
Reputation: 4122
Could you try changing the class path of your build.gradle to com.android.tools.build:gradle:2.0.0-alpha6
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-alpha6'
}
}
hope this will help.
Upvotes: 9