Last active
July 28, 2022 02:39
-
-
Save nmaruy27/06b8846745c640cd0f4ae57c84755e62 to your computer and use it in GitHub Desktop.
flutter minSdkVersion error message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─ Flutter Fix ───────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ | |
│ The plugin google_mobile_ads requires a higher Android SDK version. │ | |
│ Fix this issue by adding the following to the file /Users/hoge/app_name/android/app/build.gradle: │ | |
│ android { │ | |
│ defaultConfig { │ | |
│ minSdkVersion 19 │ | |
│ } │ | |
│ } │ | |
│ │ | |
│ │ | |
│ Note that your app won't be available to users running Android SDKs below 19. │ | |
│ Alternatively, try to find a version of this plugin that supports these lower versions of the Android SDK. │ | |
│ For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration │ | |
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment