- Download Android Studio – https://developer.android.com/studio/
- Download Xcode – https://apps.apple.com/us/app/xcode/id497799835?mt=12
- Get the Flutter SDK – https://flutter.dev/docs/get-started/install
- Learn more about Android Studio – https://developer.android.com/studio/intro/
Flutter is an open-source UI software development kit created by Google. It is used to develop applications for Android, iOS, Windows, Mac, Linux, Google Fuchsia and the web. How to install Flutter on Windows for Developing iOS and Android app. So, now let’s begin the installation of Flutter on Windows PC.
- To develop Flutter apps for iOS, you need a Mac with Xcode 9.0 or newer: Install Xcode 9.0 or newer (via web download or the Mac App Store ). Configure the Xcode command-line tools to use the newly-installed version of Xcode by running the following from the command line.
- Doctor summary (to see all details, run flutter doctor -v): Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.5 18F132, locale zh-Hans-CN) Android toolchain - develop for Android devices (Android SDK version 29.0.1) Xcode - develop for iOS and macOS (Xcode 10.2.1) iOS tools - develop for iOS devices Android Studio.
- The Dart SDK has the libraries and command-line tools that you need to develop Dart command-line, server, and non-Flutter web apps. For details, see the Dart SDK overview. As of Flutter 1.21, the Flutter SDK includes the full Dart SDK. So if you have Flutter installed, you might not need to explicitly download the Dart SDK.
Step 1 : Get the Flutter SDK
1 Download the following installation bundle to get the latest stable release of the Flutter SDK:
2 Download SDK and extract downloaded file, just double click on that. and just copy extracted folder and paste it to your desired location (for example, Documentsflutter).
2 Download SDK and extract downloaded file, just double click on that. and just copy extracted folder and paste it to your desired location (for example, Documentsflutter).
Step 2 : Update your path
Important:
Path variable needs to be updated to access “flutter” command from terminal. you can just update path variable for current terminal window only. and if you want to access flutter commands from anywhere in terminal, we need to update SDK path permanently.To update PATH variable, we need to open terminal.
To update PATH variable for current terminal window only, then enter this command “export PATH=”$PATH:`pwd`/flutter/bin”” and hit enter key.
To update PATH variable permanently, then Open or create .bash_profile file. to open or create that file, then enter “sudo open -e $HOME/.bash_profile” and hit enter key.
Append below line to bash_profile file at bottom of all other content. “export PATH=”$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin”” as [PATH_TO_FLUTTER_GIT_DIRECTORY] is actual path of SDK folder.
Run this command on terminal “source $HOME/.bash_profile” to refresh PATH variables.
Then check whether our SDK is successfully installed or not.
You are now ready to run Flutter commands in the Flutter Console!
Run “flutter doctor” into terminal, If you are getting check list of flutter sdk requirements, it means SDK is successfully installed on your machine. and you can start building flutter apps on your machine.
If you find any issue during environment setup in macos, please go online Click here
How can we help?
A premium WordPress theme with integrated Knowledge Base,
providing 24/7 community based support.
providing 24/7 community based support.
System environmental requirements
Flutter is a new framework, so there are certain requirements for the system.
- MacOS(64-bit)
- Disk space: more than 700m. If Android studio and other editing tools are included, try to be more than 3G.
- Command number tools: bash, MKDIR, RM, GIT, curl, unzip, which and brew are all available.
Download the flutter SDK package
Official website link: https://fluent.io/setup-macos/
Download the latest SDK directly from get the shuttle SDK
Configure environment variables
After the compressed package is downloaded, find a location to decompress. This position is important because it is used to configure environment variables. I have configured to the current user directory folder.
- Open the terminal tool and use VIM to configure environment variables. The command is as follows:
- Add a line of code to the open file
Tip: this line of command is written according to the location where you decompress the compressed package. It’s written in your path, which may not be the same as the article.
- When the profile is complete, use the
source
The command reloads as follows:
- Use the command to check whether the installation is successful. The specific command is as follows:
After the prompt of available command appears, the installation is successful.
Check development environment
We have installed the flutter, but we don’t have a development environment. Development also needs a lot of software and plug-in support, which plug-ins and software do you need? We can use the command provided by flutter to check:
Display results:
Note: those with ❌ must be installed, and those with ❗ can be ignored temporarily.
Vs code was installed by me before. If it is not installed, the following information will not appear
Vs code was installed by me before. If it is not installed, the following information will not appear
Therefore, this can be ignored for the time being
Solve the problem with ❌
Flutter Sdk Download Mac 10.10
1、 Android environment
1.1 installationAndroid Studio
open
Android Studio
Open upplugins
Installationflutter
After completion
Turn into
1.2 implementationflutter doctor --android-licenses
Agreement
Here, more than n information are all related protocol documents, just one way y.
Apple games for free on macbook pro. After completion
Turn into
2. IOS environment
When installing IOS environment, there are some pits
2.1 Pit 1:/usr/local is not writable.
When we see this prompt, our first thought is to modify the read-write permission
When you execute
sudo chown -R $(whoami) /usr/local
When modifying, you will be prompted as follows:Now the problem is stuck, because executing commands like brew update requires writing to / usr / local. However, the operating user cannot obtain write permission through chown just like the normal folder operation. Because / usr / local is the system folder, Mac OS restricts the operation permission to it.
Apple started using OS X El capital 10.11
Rootless
Mechanism, which can be understood as the kernel protection measures of a higher level system. The system will be locked by default/system
、/sbin
、/usr
These three directories.Input at terminal
Receive system prompt
Explain
rootless
Open by default. At this time, you can’t use sudo command to/system
、/sbin
、/usr
These three directories are modified.Turn rootless mechanism on and off
- Restart Mac
- Press after power on
Command+R
, enter recovery mode. - Find and open in the menu utility above
Terminal
- Enter the following command:
here
rootless
It has been shut down. Exit the recovery mode and enter the system normally. Input at terminalSystem hint
Rootless is turned off
May pass
open
Enter the following command at terminal in recovery mode:
May pass
sudo chown -R $(whoami) /usr/local
Modify permissionsopen
rootless
Enter the following command at terminal in recovery mode:
It is recommended that rootless be turned on again for system security after modification.
2.2 Pit 2: missingautoconf
、automake
andlibtool
I thought it would be smooth after the modification of the document authority, but it was a pity that the sky failed to meet people’s wishes. I’ve watched Daniel’s podcasts once, but I have more problems here. A kind of
Find and solve problems.
For a meal, all you find is to use the URL to download a. Tar.gz package, then extract and install it.
However, it’s still a mistake, with a big head
For a meal, all you find is to use the URL to download a. Tar.gz package, then extract and install it.
However, it’s still a mistake, with a big head
Download Flutter Sdk For Windows
After that, it’s still a brew installation. It’s done once
Flutter Sdk Wiki
Finally, I succeeded! Meizizi