Solution 1 :
For Android :
- Go to
- Find the
defaultConfigsection update the
minSdkVersionto the new version.
- run the
flutter pub get && flutter run
For IOS :
- Set MinimumOSVersion to 10.0 in ios/Flutter/AppFrameworkInfo.plist
- uncomment platform :ios, ‘10.0’ in ios/Podfile
ios/Podfileshould contains the following post install script:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
Than you can run this command on your terminal.
flutter clean && rm ios/Podfile.lock pubspec.lock && rm -rf ios/Pods ios/Runner.xcworkspace
how can i set the required version of Android and Mac along with larger versions?
for example i want set requried version to Android 7 and IOS 10 and over version than these
Has anybody know how to do that?