私達の環境はMacであり、インストール場所はホームディレクトリです。
1. まずホームディレクトリから、Flutterディレクトリへ移動します。
ofuku$ cd flutter
2. ブランチの状態を一応確認しておきます。alphaブランチです。
ofuku$ git branch
* alpha
3. flutter channelとコマンドを叩くと、"flutter upgrade" をするように言われます。
ofuku$ flutter channel
WARNING: your installation of Flutter is 72 days old.
To update to the latest version, run "flutter upgrade"
4. アップグレードします。
ofuku$ flutter upgrade
こんな感じの表示が出ます。
Upgrading Flutter from /Users/ofuku/flutter...
From https://github.com/flutter/flutter
d36e2f619..1c372c680 alpha -> origin/alpha
* [new branch] Hixie-patch-1 -> origin/Hixie-patch-1
* [new branch] fix_style_issue -> origin/fix_style_issue
* [new branch] inspect_1 -> origin/inspect_1
3045c289e..ea8da05f2 master -> origin/master
* [new branch] revert-11069-flutter-checked -> origin/revert-11069-flutter-checked
* [new branch] revert-11229-hot_reload -> origin/revert-11229-hot_reload
* [new branch] revert-11342-1.25.0-dev.7.0 -> origin/revert-11342-1.25.0-dev.7.0
* [new branch] revert-11456-roll_engine_0731 -> origin/revert-11456-roll_engine_0731
* [new branch] revert-11676-flavors -> origin/revert-11676-flavors
* [new branch] revert-11792-semanticsNeedOrder -> origin/revert-11792-semanticsNeedOrder
* [new branch] zero -> origin/zero
* [new tag] 0.0.12 -> 0.0.12
* [new tag] 0.0.13 -> 0.0.13
* [new tag] 0.0.14 -> 0.0.14
Updating d36e2f619..1c372c680
.../{.analysis_options => analysis_options.yaml} | 0
.../LaunchImage.imageset/LaunchImage.png | Bin 0 -> 68 bytes
・
・
Flutter • channel alpha • https://github.com/flutter/flutter.git
Framework • revision d36e2f6191 (2 months ago) • 2017-08-31 15:54:45 -0700
Engine • revision f9e00a7c72
Tools • Dart 1.24.0-dev.6.7
・
・最後にFlutter docterが走ります。
こちらも状況を確認しておくと良いと思います。
Running flutter doctor...
[✓] Flutter (on Mac OS X 10.12.6 16G29, locale ja-JP, channel alpha)
• Flutter at /Users/ofuku/flutter
• Framework revision d36e2f6191 (2 months ago), 2017-08-31 15:54:45 -0700
• Engine revision f9e00a7c72
• Tools Dart version 1.24.0-dev.6.7
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
• Android SDK at /Users/ofuku/Library/Android/sdk
• Platform android-25, build-tools 25.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 8.3.3, Build version 8E3004b
• ios-deploy 1.9.1
• CocoaPods version 1.2.1
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Gradle version 3.2
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Community Edition (version 2017.1.5)
• Flutter plugin version 15.1
• Dart plugin version 171.4694.29
[✓] Connected devices
• None
以上です。
0 件のコメント:
コメントを投稿