Flutter Fix
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ The plugin google_maps_flutter_android requires a higher Android SDK version. │
│ Fix this issue by adding the following to the file D:DevelopmentULTIMAT POSApp POS BackupUltimatePOS_Flutter_1.7.1posandroidappbuild.gradle: │
│ android { │
│ defaultConfig { │
│ minSdkVersion 20 │
│ } │
│ } │
│ │
│ │
│ Note that your app won't be available to users running Android SDKs below 20. │
│ 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
2
Answers
in your project folder, look for that file:
open it in your editor, and search for this:
replace it with this:
Replace minSdkVersion 20 in file build.gradle at folder Android/app/