diff --git a/.github/workflows/cronet.yml b/.github/workflows/cronet.yml index 5c16581a9d..cc055f3b25 100644 --- a/.github/workflows/cronet.yml +++ b/.github/workflows/cronet.yml @@ -60,7 +60,7 @@ jobs: with: # This should match the minSdkVersion in # pkgs/cronet_http/android/build.gradle. - api-level: 22 + api-level: 24 target: ${{ matrix.package == 'cronet_http_embedded' && 'google_apis' || 'playstore' }} arch: x86_64 profile: pixel diff --git a/pkgs/cronet_http/android/build.gradle b/pkgs/cronet_http/android/build.gradle index 6817620759..a07bf2096b 100644 --- a/pkgs/cronet_http/android/build.gradle +++ b/pkgs/cronet_http/android/build.gradle @@ -47,7 +47,7 @@ android { defaultConfig { // This should match the version tested in .github/workflows/cronet.yml - minSdkVersion 22 + minSdkVersion 24 } defaultConfig { diff --git a/pkgs/cronet_http/example/android/app/build.gradle b/pkgs/cronet_http/example/android/app/build.gradle index 1a68b46001..679eb53343 100644 --- a/pkgs/cronet_http/example/android/app/build.gradle +++ b/pkgs/cronet_http/example/android/app/build.gradle @@ -46,7 +46,7 @@ android { applicationId "io.flutter.cronet_http_example" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. - minSdkVersion 22 + minSdkVersion 24 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName