
ALT Tired of doing this manually? android { namespace = "com.example.test_3_27" compileSdk = flutter.compileSdkVersion - ndkVersion = flutter.ndkVersion + ndkVersion = "27.0.12077973" compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_1_8 + jvmTarget = JavaVersion.VERSION_17 } ... } # Script to update Gradle, Java and other Android project settings in a Flutter project # See: https://gradle.org/releases/ DESIRED_GRADLE_VERSION="8.9" # Build errors often show the required Java version DESIRED_JAVA_VERSION="17" # See: https://developer.android.com/ndk/downloads DESIRED_NDK_VERSION="27.0.12077973"














