Reputation: 33
I am building a golf score card app with android studio and last night before I shut down my laptop it was building fine, however, this morning when I run Android studio I got the error "Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "aed79d567e57792ed352e708d2b7ca891ff897c6"" and my app structure has also altered and there is no longer a manifest folder.....image of app structure``
Below is my gradle file:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.example.biko.golfstroke"
minSdkVersion 8
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
}
Please help if you can this is so frustrating!
Upvotes: 3
Views: 1396
Reputation: 33
I changed my class path to: classpath 'com.android.tools.build:gradle:2.0.0-alpha6'
and then followed this post:change distribution url
and it was solved.... Thanks for all the help!
Upvotes: 0
Reputation: 46
PLZ update your gradle plugin version in the rooter gradle file as following:
classpath 'com.android.tools.build:gradle:2.0.0-alpha6'
check the newest version of android gradle plugin in here
I think the android studio should fix this version problem by himself, it`s a bad experience for changing it manually.
Upvotes: 3