From 1025347842868b9857e2197d7af1bf7438f8aa48 Mon Sep 17 00:00:00 2001 From: samirsimnica Date: Tue, 16 Sep 2025 14:50:36 +0200 Subject: [PATCH] fix(android): update compileSdkVersion and targetSdkVersion to 34 - Resolves build failures with Android API 34+ dependencies - Fixes checkDebugAarMetadata task failures for fluttertoast - Ensures compatibility with androidx dependencies requiring API 34+ - Addresses issues with androidx.fragment, androidx.window, and other dependencies Fixes: Build failures when using fluttertoast with Android API 34+ --- android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 0be8fd5d..666509f4 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { - compileSdkVersion 33 + compileSdkVersion 34 compileOptions { sourceCompatibility JavaVersion.VERSION_11 @@ -43,7 +43,7 @@ android { defaultConfig { minSdkVersion 19 - targetSdkVersion 33 + targetSdkVersion 34 if (project.android.hasProperty('namespace')) { namespace 'io.github.ponnamkarthik.toast.fluttertoast' }