ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • flutter 버젼 업그레이드 하기
    flutter 2021. 2. 11. 12:31

    mac의 terminal에서 flutter 명령을 입력하면

    새로운 버젼이 나왔다고 알려줍니다.

     

    flutter는 brew를 통해서 설치된 것이 아니므로

    brew update로 설치되지 않습니다.

     

    oneboard@oneboarcBookPro ~ % flutter   
      ╔════════════════════════════════════════════════════════════════════════════╗
      ║ A new version of Flutter is available!                                     ║
      ║                                                                            ║
      ║ To update to the latest version, run "flutter upgrade".                    ║
      ╚════════════════════════════════════════════════════════════════════════════╝
    
    

     

    flutter upgrade 명령으로 버젼을 바꿔줍니다.

     

    oneboard@oneboarcBookPro ~ % flutter upgrade
    Upgrading Flutter to 1.26.0-17.4.pre from 1.25.0-8.3.pre in /Users/oneboard/flutter...
    Downloading Dart SDK from Flutter engine 2c527d6c7e70e2f51bca1a46f1174b250f84c5da...
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      5  194M    5 10.8M    0     0  10.3M      0  0:00:18  0:00:01  0:00:17 10.3M
     28  194M   28 55.4M    0     0  27.1M      0  0:00:07  0:00:02  0:00:05 27.1M
     53  194M   53  104M    0     0  34.1M      0  0:00:05  0:00:03  0:00:02 34.1M
     82  194M   82  159M    0     0  39.4M      0  0:00:04  0:00:04 --:--:-- 39.4M
    100  194M  100  194M    0     0  41.3M      0  0:00:04  0:00:04 --:--:-- 42.2M
    Building flutter tool...
    
    Upgrading engine...
    Downloading android-arm-profile/darwin-x64 tools...              1,333ms
    Downloading android-arm-release/darwin-x64 tools...                364ms
    Downloading android-arm64-profile/darwin-x64 tools...              360ms
    Downloading android-arm64-release/darwin-x64 tools...              316ms
    Downloading android-x64-profile/darwin-x64 tools...                316ms
    Downloading android-x64-release/darwin-x64 tools...                299ms
    Downloading android-x86 tools...                                 1,211ms
    Downloading android-x64 tools...                                 1,767ms
    Downloading android-arm tools...                                   904ms
    Downloading android-arm-profile tools...                           631ms
    Downloading android-arm-release tools...                           390ms
    Downloading android-arm64 tools...                                 630ms
    Downloading android-arm64-profile tools...                         481ms
    Downloading android-arm64-release tools...                         344ms
    Downloading android-x64-profile tools...                           395ms
    Downloading android-x64-release tools...                           358ms
    Downloading android-x86-jit-release tools...                       433ms
    Downloading ios tools...                                         2,006ms
    Downloading ios-profile tools...                                 1,651ms
    Downloading ios-release tools...                                    9.2s
    Downloading package sky_engine...                                  420ms
    Downloading flutter_patched_sdk tools...                         1,167ms
    Downloading flutter_patched_sdk_product tools...                 1,774ms
    Downloading darwin-x64 tools...                                  2,823ms
    Downloading darwin-x64/font-subset tools...                        346ms
    
    Flutter 1.26.0-17.4.pre • channel beta • https://github.com/flutter/flutter.git
    Framework • revision 48c9d3e0e1 (8시간 전) • 2021-02-10 11:46:09 -0800
    Engine • revision 2c527d6c7e
    Tools • Dart 2.12.0 (build 2.12.0-259.8.beta)
    
    Running flutter doctor...
    Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel beta, 1.26.0-17.4.pre, on macOS 11.2.1 20D74 darwin-x64, locale ko-KR)
    [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    [✓] Xcode - develop for iOS and macOS
    [✓] Android Studio (version 4.1)
    [✓] VS Code (version 1.53.1)
    [!] Connected device
        ! No devices available
    
    ! Doctor found issues in 1 category.
    
      ╔════════════════════════════════════════════════════════════════════════════╗
      ║                 Welcome to Flutter! - https://flutter.dev                  ║
      ║                                                                            ║
      ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
      ║ statistics and basic crash reports. This data is used to help improve      ║
      ║ Flutter tools over time.                                                   ║
      ║                                                                            ║
      ║ Flutter tool analytics are not sent on the very first run. To disable      ║
      ║ reporting, type 'flutter config --no-analytics'. To display the current    ║
      ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out    ║
      ║ event will be sent, and then no further information will be sent by the    ║
      ║ Flutter tool.                                                              ║
      ║                                                                            ║
      ║ By downloading the Flutter SDK, you agree to the Google Terms of Service.  ║
      ║ Note: The Google Privacy Policy describes how data is handled in this      ║
      ║ service.                                                                   ║
      ║                                                                            ║
      ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and  ║
      ║ crash reports to Google.                                                   ║
      ║                                                                            ║
      ║ Read about data we send with crash reports:                                ║
      ║ https://flutter.dev/docs/reference/crash-reporting                         ║
      ║                                                                            ║
      ║ See Google's privacy policy:                                               ║
      ║ https://policies.google.com/privacy                                        ║
      ╚════════════════════════════════════════════════════════════════════════════╝
    
    

     

    flutter doctor 명령으로 이상이 없는지 확인 합니다.

     

    oneboard@oneboarcBookPro ~ % flutter doctor
    Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel beta, 1.26.0-17.4.pre, on macOS 11.2.1 20D74 darwin-x64, locale ko-KR)
    [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    [✓] Xcode - develop for iOS and macOS
    [✓] Android Studio (version 4.1)
    [✓] VS Code (version 1.53.1)
    [!] Connected device
        ! No devices available
    
    ! Doctor found issues in 1 category.
    
    반응형

    'flutter' 카테고리의 다른 글

    flutter 상태관리 - getX  (0) 2021.05.22
    mac + vs code로 flutter 개발하기  (0) 2021.01.31
    flutter 개발 도구 설치  (0) 2021.01.31
Designed by Tistory.