Skip to content

Instantly share code, notes, and snippets.

@nmaruy27
Last active July 28, 2022 02:39
Show Gist options
  • Save nmaruy27/06b8846745c640cd0f4ae57c84755e62 to your computer and use it in GitHub Desktop.
Save nmaruy27/06b8846745c640cd0f4ae57c84755e62 to your computer and use it in GitHub Desktop.
flutter minSdkVersion error message
┌─ 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