Problem with Android Studio 2 after upgrading to version 6

I have updated the version for Android version 2.0 to version 6.

I got this error message:

Error

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 Fix plugin version and sync project options

The project is synchronized, but nothing happens.

When I click on Open File, it opens the build.gradle file, which is associated with the App module. it places the cursor on this line:

 apply plugin: 'com.android.application' 

Is there any clue what the ANDROID_DAILY_OVERRIDE environment variable is? or what could be this mistake?

+6
source share
1 answer

Could you try changing the path to the build.gradle class 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 helps.

+9
source

All Articles