The project is using an incompatible version of the Android Gradle plugin.

Be proactive and start with the end in mind

insert image description here

The project is using an incompatible version (AGP 7.4.1) of the Android Gradle plugin. Latest supported version is AGP 7.2.0

AGP(Android Gradle Plugin) - Android Gradle Plugin

During the Android development process, you may encounter the above Android Gradle Plugin version mismatch problem. There may be some solutions for you on the Internet. But in line with the thirst for knowledge of "knowing what it is, but also knowing why it is". Now let's analyze the scenarios where this problem might occur:

  • The Gradle version is inconsistent with the Gradle plugin version;
  • The version of Android Studio and the version of the Gradle plugin are inconsistent;

You can check the official document - Android Gradle plugin to understand the specific version correspondence.


insert image description here

insert image description here

Guess you like

Origin blog.csdn.net/wangcheeng/article/details/129307400