The project is using an incompatible version (AGP 8.9.1) of the Android Gradle plugin. Latest supported version is AGP 8.8.0-alpha05
See Android Studio & AGP compatibility options.
改模塊級?build.gradle
(如果有獨立配置):
GRADLE
plugins { id "com.android.application" // 移除版本號,繼承項目級配置 }