NGMsoftware

NGMsoftware
로그인 회원가입
  • 매뉴얼
  • 학습
  • 매뉴얼

    학습


    Error Flutter - Windows Version (Unable to confirm if installed Windows vers…

    페이지 정보

    본문

    안녕하세요. 엔지엠소프트웨어입니다. 플러터를 설치하려고하니~ "Windows Version (Unable to confirm if installed Windows version is 10 or greater)"와 같은 에러가 발생하는군요. 어떤 이유인지는 모르겠지만, stable에서는 윈도우 버전을 확인할 수 없었습니다. 그래서, master로 변경해야 하는데요. 아래와 같이 플러터 채널을 확인 해볼 수 있어요.

    C:\Users\ngmas>flutter channel
    Flutter channels:
      master
      main
      beta
    * stable

     

    채널을 마스터로 변경 해봅시다.

    C:\Users\ngmas>flutter channel master
    Switching to flutter channel 'master'...
    git: branch 'master' set up to track 'origin/master'.
    git: Switched to a new branch 'master'
    Successfully switched to flutter channel 'master'.
    To ensure that you're on the latest build from this channel, run 'flutter upgrade'

     

    채널 변경을 완료하려면 flutter upgrade를 실행해야 한다는군요.

    C:\Users\ngmas>flutter upgrade
    Checking Dart SDK version...
    Downloading Dart SDK from Flutter engine e2e089ebba6b6bcd05ab29b5f5d3ee17fb2ac6c7...
    Expanding downloaded archive...
    Building flutter tool...
    Running pub upgrade...
    Flutter is already up to date on channel master
    Flutter 3.7.0-29.0.pre.15 • channel master • https://github.com/flutter/flutter.git
    Framework • revision 018c1f84ab (14 minutes ago) • 2023-01-27 20:40:06 -0500
    Engine • revision e2e089ebba
    Tools • Dart 3.0.0 (build 3.0.0-173.0.dev) • DevTools 2.20.1

     

    flutter doctor를 다시 실행 해보세요. 에러가 사라진걸 확인할 수 있습니다.

    C:\Users\ngmas>flutter doctor
    Downloading package sky_engine...                                  727ms
    Downloading flutter_patched_sdk tools...                         1,608ms
    Downloading flutter_patched_sdk_product tools...                   888ms
    Downloading windows-x64 tools...                                    3.6s
    Downloading windows-x64/font-subset tools...                       974ms
    Doctor summary (to see all details, run flutter doctor -v):
    [√] Flutter (Channel master, 3.7.0-29.0.pre.15, on Microsoft Windows [Version 10.0.19044.2486], locale ko-KR)
    [√] Windows Version (Installed version of Windows is version 10 or higher)
    [X] Android toolchain - develop for Android devices
        X cmdline-tools component is missing
          Run `path/to/sdkmanager --install "cmdline-tools;latest"`
          See https://developer.android.com/studio/command-line for more details.
    [√] Chrome - develop for the web
    [√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.1)
    [!] Android Studio (not installed)
    [√] Connected device (3 available)
    [√] HTTP Host Availability
    
    ! Doctor found issues in 2 categories.

     

    개발자에게 후원하기

    MGtdv7r.png

     

    추천, 구독, 홍보 꼭~ 부탁드립니다.

    여러분의 후원이 빠른 귀농을 가능하게 해줍니다~ 답답한 도시를 벗어나 귀농하고 싶은 개발자~

    감사합니다~

    • 네이버 공유하기
    • 페이스북 공유하기
    • 트위터 공유하기
    • 카카오스토리 공유하기
    추천0 비추천0

    댓글목록

    등록된 댓글이 없습니다.