ac4android
Well-Known Member
Hi.
U[grading to 2.1.1 is a pretty long-winded process. It appears to have installed successfully but when I try to import an old test, it crashed with following message:
Error(1,0) Cause: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0
It seems to be complaining about the old build.gradle:
I am deleting 2.1.1 and dropping back to 1.5.1, at least I know everything works well the old version.
U[grading to 2.1.1 is a pretty long-winded process. It appears to have installed successfully but when I try to import an old test, it crashed with following message:
Error(1,0) Cause: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0
It seems to be complaining about the old build.gradle:
Code:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.hfad.beeradviser"
minSdkVersion 17
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
}
I am deleting 2.1.1 and dropping back to 1.5.1, at least I know everything works well the old version.
.
.