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