upgrade android sdk version

This commit is contained in:
2025-08-04 20:48:26 -04:00
parent c4846eb45b
commit e8d3f10d3b
4 changed files with 12 additions and 6 deletions

View File

@@ -13,9 +13,9 @@ if (keystorePropertiesFile.exists()) {
android {
namespace = "net.ything.radio.android"
compileSdk 36
//compileSdk = flutter.compileSdkVersion
compileSdk = 34
ndkVersion = flutter.ndkVersion
ndkVersion = "27.0.12077973"
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
@@ -32,7 +32,7 @@ android {
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = 24
targetSdk = 34
targetSdk = 36
versionCode = 2
versionName = "1.0.2"
}
@@ -54,6 +54,7 @@ android {
signingConfig = signingConfigs.release
}
}
buildToolsVersion '36.0.0'
}
flutter {

View File

@@ -1,3 +1,6 @@
org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
android.enableJetifier=true
android.nonTransitiveRClass=false
android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false

View File

@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip

View File

@@ -18,8 +18,8 @@ pluginManagement {
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
id "com.android.application" version '8.12.0' apply false
id "org.jetbrains.kotlin.android" version "2.2.0" apply false
}
include ":app"