Android SDK 35 is required AGP 8.6.0 or newer you have to update in settings.gradle
file
source
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.6.0" apply false // This line
id "com.google.gms.google-services" version "4.3.15" apply false
}