Flutter Android Config After Android Gradle Plugin 8.8 Release
· One min read
android/app/build.gradle
android {
...
compileSdk = 35
ndkVersion = "27.0.12077973"
defaultConfig {
...
minSdk = 23
targetSdk = 35
...
}
}
android/settings.gradle
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.8.0" apply false
id "org.jetbrains.kotlin.android" version "2.1.10" apply false
}
android/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip