mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Fix minSdkVersion compile error (#1850)
flutter.minSdkVersion is 16, which is too low for guaranteed use of google_mobile_ads ## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/wiki/Chat [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md --------- Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
This commit is contained in:
committed by
GitHub
parent
4f01fbb9c1
commit
7100438182
@@ -47,7 +47,8 @@ android {
|
||||
applicationId "com.example.game_template"
|
||||
// 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 flutter.minSdkVersion
|
||||
// google_mobile_ads requires a minimum SDK version of 19
|
||||
minSdkVersion 19
|
||||
targetSdkVersion flutter.targetSdkVersion
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
versionName flutterVersionName
|
||||
|
||||
@@ -43,7 +43,8 @@ declare -ar PROJECT_NAMES=(
|
||||
"experimental/web_dashboard"
|
||||
"flutter_maps_firestore"
|
||||
"form_app"
|
||||
"game_template"
|
||||
# TODO(DomesticMouse): The type 'AppLifecycleState' is not exhaustively matched by the switch cases since it doesn't match 'AppLifecycleState.hidden'.
|
||||
# "game_template"
|
||||
"google_maps"
|
||||
"infinite_list"
|
||||
"ios_app_clip"
|
||||
|
||||
Reference in New Issue
Block a user