How to Install Flutter on macOS 2021| Install Xcode, Android Studio,VS code

Coding Town
Coding Town
13.7 هزار بار بازدید - 3 سال پیش - in this video ur going
in this video ur going to install
flutter
update flutter path
install android studio
setup android studio
create android emulator
install xcode
create ios Simulator
install chrome
install vscode
Create Flutter Package
install cocoapods
fix cocoapods Error

copy this code
vim  ~/.zshrc

update the path
export PATH="$PATH:`pwd`/flutter/bin"

after installing the xcode run this command

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

sudo xcodebuild -runFirstLaunch

to create app
flutter create my_app

to accept Andriod licenses
flutter doctor --android-licenses

to install cocoapods
sudo gem install cocoapods

to open a simulator
open -a Simulator

cocoapods error fix paste this command
cd $(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0

sudo ln -sf universal-darwin20 universal-darwin19

Enable desktop support
flutter config --enable-macos-desktop

Download all files below 1st
Flutter Package
https://flutter.dev/docs/get-started/...

Xcode
https://stackoverflow.com/questions/1...

Android Studio
https://developer.android.com/studio?...

Google Chrome
https://www.google.com/chrome/?brand=...

Vs Code
https://code.visualstudio.com/download

Coco-odd error code
http://5.9.10.113/66567831/catalina-unable-to-install-cocoapods
3 سال پیش در تاریخ 1400/08/22 منتشر شده است.
13,787 بـار بازدید شده
... بیشتر