Skip to content

Commit

Permalink
android: bump min android version
Browse files Browse the repository at this point in the history
┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ The plugin google_mobile_ads requires a higher Android SDK version.                                                  │
│ Fix this issue by adding the following to the file /home/ahann/Documents/GitHub/ricochlime/android/app/build.gradle: │
│ android {                                                                                                            │
│   defaultConfig {                                                                                                    │
│     minSdkVersion 21                                                                                                 │
│   }                                                                                                                  │
│ }                                                                                                                    │
│                                                                                                                      │
│                                                                                                                      │
│ Following this change, your app will not be available to users running Android SDKs below 21.                        │
│ Consider searching for a version of this plugin that supports these lower versions of the Android SDK instead.       │
│ For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration      │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  • Loading branch information
adil192 committed Apr 11, 2024
1 parent da4a422 commit 279e662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ android {
applicationId "com.adilhanney.ricochlime"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 19
minSdkVersion 21
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down

0 comments on commit 279e662

Please sign in to comment.