/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap AdoptOpenJDK/openjdk
brew install —cask adoptopenjdk11
brew install --cask intellij-idea
brew cask install visual-studio-code #vscode 설치
code --install-extension dart-code.flutter # Flutter 개발에 필요한 Extension 설치
# --------앱스토어에서 Xcode 설치하기------------
# Xcode 설정
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
sudo xcodebuild -license
sudo gem install cocoapods
# Android studio 설치
brew install --cask android-studio.
# --------Flutter SDK 설치-------------
mkdir ~/development
cd ~/development
git clone https://github.com/flutter/flutter.git -b stable
code ~/.zshrc
파일의 제일 하단에 다음의 내용을 추가합니다.
...
export PATH=$HOME/development/flutter/bin:$PATH
flutter doctor
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
flutter doctor --android-licenses
flutter doctor