Last active
April 14, 2019 16:58
-
-
Save pennya/e5d059e761d19e38abf19d6a4e7c9e6d to your computer and use it in GitHub Desktop.
flutter 설치
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 설치 | |
https://flutter.dev/docs/get-started/install/macos | |
위 경로로 들어가서 mac 버전 flutter를 다운로드 받는다 | |
home에 develepment 폴더(자유) 만들고 압축해제하면 flutter 폴더가 생긴다 | |
export PATH="$PATH:`pwd`/flutter/bin" | |
터미널로 위 명령어를 실행하여 flutter를 환경변수에 세팅해야 하지만 이렇게하면 터미널을 껏다가 킬때마다 실행해야한다. | |
.bash_profile ( home에 숨겨져있음) 에서 값을 수정해야 한다. | |
export PATH=${PATH}:/Users/kim/development/flutter/bin | |
터미널을 재시작하고 | |
flutter doctor 명령어 실행 | |
flutter 설치여부, android studio, xcode, visual studio code 에서 동작가능한지 여부가 나온다 | |
설치하라는 대로 하면 된다. | |
android studio | |
preferences -> plugins -> browse repositories... 에서 flutter, dart 검색하여 설치 | |
xcode | |
xcode 설치 이후 실행 | |
Simulator 앱을 실행하여 Hardware -> Device 메뉴에서 64bit 디바이스를 사용하는지 확인한다. | |
homebrew 설치 ( 터미널에서 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
) 실행 | |
visual studio code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment