[Flutter] Setting Flutter on Mac ( Catalina )

Опубликовано: 16 Февраль 2020
на канале: Loyd Lab
3k
46

Please comment on any questions! If this movie helped you, please subscribe to my Youtube Channel, please :) ‍️

0:06 Show To-do list for this video.
0:30 Download the Flutter SDK
1:00 Make .bash_profile or .zshrc files in the home directory.
1:53 Indicate the Flutter SDK location in .bash_profile or .zshrc
3:16 Check the Flutter status
3:43 Install Xcode.
4:06 Install Android
4:32 Set Flutter SDK path in android studio.
6:24 Indicate the Android SDK path in .bash_profile or .zshrc

* Even if you make ".bash_profile", ".zshrc" in Home directory in mac and you still get the "command not found" message, please follow this step.

1. Try type "chsh -s /bin/zsh" in terminal.
2. Close terminal and reopen
3. Type "flutter --version" again.

* Setting Flutter on Mac

1. Download Flutter SDK

2. Create .bash_profile ( if you got error create .zshrc) in the Home directory. type "vim .bash_profile" ( "vim .zshrc") in terminal.

3. Add a line in the file.
export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin"

And close terminal, reopen terminal. type "flutter --version" and "flutter doctor"

4. Download Xcode, android studio. and make android virtual device using the AVD manager.

5. indicate Android SDK location in .bash_profile. open terminal and type "vim .bash_profile" and add this line

export ANDROID_HOME=/androidSDKlocation/

6. Reopen terminal and source .bash_profile

7. Test the flutter. type flutter doctor

* Relative links

- Flutter Link:

- Download Xcode:

- Download Android studio:

* Command

Solution from error

Android toolchain - develop for Android devices
Unable to locate Android SDK. Install Android Studio from:

1. open terminal
2. type cd
3. type vim .bash_profile
4. Add Android SDK location

export ANDROID_HOME=/androidSDKlocation/

5. close terminal and reopen it.
6. type source .bash_profile.
7. type flutter doctor.
8. that's it.

* Develop environment.

- OS Version: macOS Catalina 10.15.3



Thanks for watching this video :)


Смотрите видео [Flutter] Setting Flutter on Mac ( Catalina ) онлайн без регистрации, длительностью 09 минут 15 секунд в хорошем hd качестве. Это видео добавил пользователь Loyd Lab 16 Февраль 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3 тысяч раз и оно понравилось 4 людям.