목표

Flutter를 개발하기 위해 필요한 도구를 설치하고 환경 설정합니다. 이 단계를 완료하면 첫 번째 Flutter 앱을 실행할 수 있습니다. 튜토리얼은 Windows 환경에서 진행 됩니다.

1.1 소개

Flutter 앱 개발을 시작하려면 Flutter SDK, IDE, 에뮬레이터 또는 실제 디바이스가 필요합니다. 이번 챕터에서는 Flutter 개발 환경을 설정하는 방법을 단계별로 설명 하겠습니다.

1.2 사전 준비

필요한도구

  • Flutter SDK
  • Android Stduio 또는 Visual Studio Code
  • Android/iOS 에뮬레이터 또는 실제 디바이스

1.3 핵심 내용

1단계: Flutter SDK 설치

  1. Flutter 공식 사이트에서 OS에 맞는 SDK를 다운로드합니다.
  2. 다운로드한 압축 파일을 원하는 디렉토리에 압축 해제합니다.(C:\Flutter에 설치하는 것을 권장합니다.
  3. Flutter의 bin 디렉토리를 시스템 PATH에 추가합니다.
    • Windows: 환경 변수 설정에서 PATH에 Flutter SDK 경로 추가

환경 변수(N)을 클릭합니다.

Users에 대한 사용자 변수(U) 패널에서 Path 항목을 찾아 편집(E)..을 클릭합니다.

환경 변수 편집 화면에서 새로 만들기(N) –> 찾아보기(B) 를 차례로 누른 후 Flutter SDK 경로를 추가 합니다.

2단계: Flutter Doctor 실행

  1. 터미널 또는 명령 프롬프트를 열고 다음 명령어를 입력합니다.

win icon + R 버튼을 누르고 입력 창에 ‘cmd’ 입력하고 확인을 누릅니다.

2. 명령창이 나오면 ‘flutter doctor’ 명령어를 입력합니다.

3. Flutter Doctor는 설치 상태를 확인하고 필요한 추가 설정을 알려주는 기능을 합니다. 한 개라도 체크가 되지 않아 오류가 발생했다면 해당 메시지를 참고하여 오류를 해결한 후 flutter doctor를 실행하여 올바르게 설치 되었는지 다시 확인 합니다.

3단계: Android Studio 설치

  1. Android Studio 다운로드 페이지에서 설치 파일을 다운로드 합니다.
  2. 설치 후 Flutter 및 Dart 플러그인을 설치 합니다.
    • Android Studio에서 File > Setting > Plugin 로 이동.
    • MarketPlace에서 Flutter 검색 후 설치
    • Flutter 설치 시 Dart 플러그인도 함께 설치합니다.

검색창에 Flutter를 검색 후 설치 합니다.

검색창에 Dart 검색 후 설치합니다.

4단계: Android 에뮬레이터 설정

  1. Android Studio에서 Tool > Device Manager로 이동.
  2. 새로운 가상 장치를 생성하고 원하는 Android Version을 선택합니다.
  3. 가상 장치를 실행하여 정상적으로 동작하는지 확인합니다.

Tool > Device Manager로 이동합니다.

‘+’ 버튼을 눌러 새로운 디바이스를 생성합니다.

원하는 형태의 디바이스를 선택 합니다.

API를 선택합니다.

가상 에뮬레이터의 이름을 설정하고 Finish를 누릅니다.

설치 진행 후 Play Icon을 눌러 생성한 가상 에뮬레이터를 실행합니다.

새로 설치한 가상 에뮬레이터가 정상적으로 작동하는지 확인합니다.

1.4 결론

Flutter 개발 환경을 성공적으로 설정했습니다. 다음 단계에서는 첫 번째 Flutter 앱을 만들어 보겠습니다. 설치 중 문제가 발생했다면 Q&A 섹션을 참고하세요.

1.5 참고 자료

1.6 Q&A 섹션

Q: Flutter Doctor에서 “Android license status unknow” 오류가 발생합니다.

A: 터미널에서 다음 명령어를 실행하여 라이선스를 동의하세요

Q: PATH 설정 후에도 Flutter가 작동하지 않습니다.

A: 터미널을 다시 열거나 시스템을 재부팅 해보세요. 그래도 작동하지 않으면 환경 변수를 다시 확인 하세요.

이번 단계는 Flutter 앱 개발을 위한 환경을 설정하는 데 매우 중요합니다. 문게 없으면 다음 단계인 첫 번째 Flutter 앱 만들기로 넘어 가갔습니다.

감사합니다.


TechTinkerer's에서 더 알아보기

구독을 신청하면 최신 게시물을 이메일로 받아볼 수 있습니다.

댓글 남기기

  • **South Korean Diplomat Returns to US After 70 Days**

    The United States and South Korea have welcomed back a key diplomat, Kevin Kim, who served as the country’s special representative to the US. Kim’s return comes after a nearly one-year absence from his post, during which time Washington struggled to find a suitable replacement. Kim’s departure in January last year was widely seen as…

  • The Fate of Greenland hangs in the Balance: A Global Power Play

    The fate of Greenland has become a focal point of global politics, with multiple nations vying for control over the strategic island. In recent weeks, several countries have expressed interest in acquiring or partnering with Greenland to further their interests. This article will examine the situation and explore the potential implications for international relations. The…

  • **South Korea’s Ambassador to the US Returns from Absence**

    After a year-long vacancy, South Korean Ambassador to the United States Kevin Kim has returned to his post. The ambassador’s return comes as a welcome relief for the South Korean government, which had been without an ambassador to the US since Kim’s departure in 2022. The cause of Kim’s absence was not publicly disclosed, but…

  • Building a Dynamic Landing Page: Mastering HTML, CSS, & JavaScript

    Welcome to My Website This is a basic landing page example. Click Me!

  • Mastering File Input/Output in C++

    [Tutorial] · 2026-01-15 08:44 UTC Mastering File Input/Output in C++ 💡 TL;DR Learn how to read from and write to files in C++ using the ifstream and ofstream objects, along with clear explanations of key concepts. 📚 Learning Objectives This tutorial explores file input/output operations in C++, covering essential concepts, practical examples, and best practices…

← 뒤로

응답해 주셔서 감사합니다. ✨

TechTinkerer's에서 더 알아보기

지금 구독하여 계속 읽고 전체 아카이브에 액세스하세요.

계속 읽기

TechTinkerer's에서 더 알아보기

지금 구독하여 계속 읽고 전체 아카이브에 액세스하세요.

계속 읽기