inblog logo
|
silver
    플러터

    [플러터] 1. 플러터 설치하기

    silver's avatar
    silver
    Jan 11, 2025
    [플러터] 1. 플러터 설치하기

    1. 플러터 설치

    Choose your development platform to get started
    Install Flutter and get started. Downloads available for Windows, macOS, Linux, and ChromeOS operating systems.
    Choose your development platform to get started
    https://docs.flutter.dev/get-started/install
    Choose your development platform to get started

    2. 플러터 SDK설치

    Start building Flutter Android apps on Windows
    Configure your system to develop Flutter mobile apps on Windows.
    Start building Flutter Android apps on Windows
    https://docs.flutter.dev/get-started/install/windows/mobile
    Start building Flutter Android apps on Windows
    7.zip으로 압축 풀어서 flutter파일만 밖으로 빼내고 빈 폴더 삭제하기(7zip이 빠름)
     

    3. 환경변수 등록하기

    bin folder안에 .bat이 존재해야하는 곳 위치 복사!
    .bat
    .bat 파일들은 Windows 배치 파일 이 파일들은 특정 작업을 자동화하는 스크립트로, 명령어들을 순차적으로 실행할 수 있도록 도와줍니다.
    각각의 .bat 파일의 역할은 다음과 같을 수 있습니다:
    dart.bat : Dart 언어와 관련된 환경을 설정하거나 특정 명령어를 실행하는 데 사용될 수 있습니다. flutter.bat : Flutter 프레임워크와 관련된 작업을 수행하는 데 필요할 수 있습니다. flutter-dev.bat : Flutter 개발 환경을 설정하는 데 사용하는 스크립트일 가능성이 높습니다. 이 파일들을 환경 변수에 추가하면, 명령 프롬프트에서 Flutter 및 Dart 명령어를 쉽게 사용할 수 있게 됩니다. 따라서, 이 .bat 파일들이 있는 bin 디렉토리를 시스템 환경 변수의 PATH에 추가하는 것이 중요합니다.
    notion image
    notion image
    notion image
    • 시스템 환경 변수(는 무조건 대문자로 해야한다) 안에 시스템 변수 PATH 추가 후 → 안드로이드 다시 껏다 켜야 적용이 된다.
     
    Share article

    silver

    RSS·Powered by Inblog