Why can't the project I cloned from GitHub run locally AndroidStudio? It say: The project is using an incompatible version (AGP 7.4.0-alpha08) of the Android Gradle plugin. Latest supported version is AGP 7.2.0 enter image description here I try my best search in Internet,but I can't find result...
And my runtime environment version: OS :MAC OS AS :2021.2.1 JAVA JDK :java version "18.0.2.1" 2022-08-18 Gradle :gradle-7.4.2
My build.gradle file:
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.4.0-alpha08")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10") // If I downgrade this version, he will report an error
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}