diff --git a/.github/workflows/cronet.yml b/.github/workflows/cronet.yml index 00eac7b780..5c16581a9d 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: 21 + api-level: 22 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 bd932247fe..6817620759 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 21 + minSdkVersion 22 } defaultConfig { diff --git a/pkgs/cronet_http/example/android/app/build.gradle b/pkgs/cronet_http/example/android/app/build.gradle index 02e4b7551e..1a68b46001 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 21 + minSdkVersion 22 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName