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 ?
If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.
If Studio doesn't start after an upgrade, the problem may be due to an invalid Android Studio configuration imported from a previous version of Android Studio or an incompatible plugin.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With