Sto provando a eseguire il mio progetto con Android Studio 2.2 ma ottengo questo errore
Unsupported method: AndroidProject.getPluginGeneration().
The version of Gradle you connect to does not support that method.
Sto usando ButterKnife 8.4.0
La mia app gradle.file:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
}
}
Il mio file gradle del modulo:
apply plugin: 'com.android.application'
apply plugin: 'android-apt'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "xxx.xx"
minSdkVersion 10
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
}
dependencies {
compile 'com.jakewharton:butterknife:8.4.0'
apt 'com.jakewharton:butterknife-compiler:8.4.0'
}
Perché non funziona e come risolverlo?