From d7ffa6298cfc17934fc5dc636762e796e6285d08 Mon Sep 17 00:00:00 2001 From: wangkun Date: Tue, 28 Jun 2022 10:11:05 +0800 Subject: [PATCH] [quick_usb] Specific minimal compileSdkVersion to 31 Signed-off-by: wangkun --- packages/quick_usb/android/build.gradle | 2 +- packages/quick_usb/example/android/app/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/quick_usb/android/build.gradle b/packages/quick_usb/android/build.gradle index e950898..537c604 100644 --- a/packages/quick_usb/android/build.gradle +++ b/packages/quick_usb/android/build.gradle @@ -25,7 +25,7 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { - compileSdkVersion 30 + compileSdkVersion 31 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/packages/quick_usb/example/android/app/build.gradle b/packages/quick_usb/example/android/app/build.gradle index 3d27995..3c4336c 100644 --- a/packages/quick_usb/example/android/app/build.gradle +++ b/packages/quick_usb/example/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion flutter.compileSdkVersion + compileSdkVersion Math.max(flutter.compileSdkVersion, 31) compileOptions { sourceCompatibility JavaVersion.VERSION_1_8