Skip to content

Snappy1

  • Home
  • Android
  • What
  • How
  • Is
  • Can
  • Does
  • Do
  • Why
  • Are
  • Who
  • Toggle search form

[FIXED] how to set required android and mac version flutter

Posted on November 11, 2022 By

Solution 1 :

For Android :

  • Go to project_folder/android/app/build.gradle
  • Find the defaultConfig section update the minSdkVersion to the new version.
  • run the flutter clean command.
  • 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/Podfile should contains the following post install script:

post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
end

Than you can run this command on your terminal.

  flutter clean 
        && rm ios/Podfile.lock pubspec.lock 
        && rm -rf ios/Pods ios/Runner.xcworkspace 

Problem :

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?

READ  [FIXED] android - Catch error but continu iterating the list
Powered by Inline Related Posts
Android Tags:android, flutter

Post navigation

Previous Post: [FIXED] android – How to detect when third party app’s dialog box appears in React native?
Next Post: [FIXED] android – Get the list of user SIM cards and select it – flutter

Related Posts

[FIXED] android – What is the best way to iterate over Map> Android
[FIXED] testing – How to create test suites in Android-Studio using AndroidJUnit4? Android
[FIXED] android – How do I push an update to my internal testers on the Play Store? Android
[FIXED] Draw a shape ( drawable ) using xml on android studio Android
[FIXED] Playing Consecutive ads in android/ios Android
[FIXED] java – Storing MongoDB database credentials inside Android app Android

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022

Categories

  • ¿Cómo
  • ¿Cuál
  • ¿Cuándo
  • ¿Cuántas
  • ¿Cuánto
  • ¿Qué
  • Android
  • Are
  • At
  • C'est
  • Can
  • Comment
  • Did
  • Do
  • Does
  • Est-ce
  • Est-il
  • For
  • Has
  • Hat
  • How
  • In
  • Is
  • Ist
  • Kann
  • Où
  • Pourquoi
  • Quand
  • Quel
  • Quelle
  • Quelles
  • Quels
  • Qui
  • Should
  • Sind
  • Sollte
  • Uncategorized
  • Wann
  • Warum
  • Was
  • Welche
  • Welchen
  • Welcher
  • Welches
  • Were
  • What
  • What's
  • When
  • Where
  • Which
  • Who
  • Who's
  • Why
  • Wie
  • Will
  • Wird
  • Wo
  • Woher
  • you can create a selvedge edge: You can make the edges of garter stitch more smooth by slipping the first stitch of every row.2022-02-04
  • you really only need to know two patterns: garter stitch

Recent Posts

  • What is the rising action in Julius Caesar?
  • How do you secure a rope to itself?
  • Does waterproof laminate scratch easily?
  • What makes a building prewar?
  • What can you learn in a month without alcohol?

Recent Comments

No comments to show.

Copyright © 2023 Snappy1.

Powered by PressBook Grid Dark theme