From 4e232271fdceb9fcb0c632d2973f77d9bb35f293 Mon Sep 17 00:00:00 2001 From: Tianze Ds Date: Mon, 21 Oct 2024 18:48:54 +0800 Subject: [PATCH] RDART-1087: Update compileSdkVersion to fix android:attr/lStar not found (#1797) --- CHANGELOG.md | 2 +- packages/realm/android/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47722fb61..70e1f3c46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ * None ### Fixed -* None +* For the Android platform, changed compileSdkVersion into 31 from 28 to fix the fatal `android:attr/lStar not found` error when using Flutter 3.24. ### Compatibility * Realm Studio: 15.0.0 or later. diff --git a/packages/realm/android/build.gradle b/packages/realm/android/build.gradle index 3ffcaa6d1..3ae9aa0fb 100644 --- a/packages/realm/android/build.gradle +++ b/packages/realm/android/build.gradle @@ -28,7 +28,7 @@ android { namespace 'io.realm' } - compileSdkVersion 28 + compileSdkVersion 31 defaultConfig { minSdkVersion 16