I\'m trying to run my Project with Android Studio 2.2 but I get this error
Unsupported method: AndroidProject.getPluginGeneration().
The version of Gradle yo
Just upgrade the Gradle plugin version to the last version :
dependencies {
classpath 'com.android.tools.build:gradle:3.5.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
and be sure your Gradle is the last v too :
#Sun Nov 03 16:47:32 IRST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
NOTE: use google
in repository too