ユーザ用ツール

サイト用ツール


flutterinstallerr

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
flutterinstallerr [2022/02/07 10:28]
muranko
flutterinstallerr [2022/02/07 10:57] (現在)
muranko
行 4: 行 4:
  
 ==== flutter doctorでチェックエラー ==== ==== flutter doctorでチェックエラー ====
-[[https://docs.flutter.dev/get-started/install/windows|Flutter SDKのZip]]をダウンロードし、展開後、コマンドラインでflutter doctorを実行するとツール類がそろっているかチェックしてくれるのですが怒られました。 +[[https://docs.flutter.dev/get-started/install/windows|Flutter SDKのZip]]をダウンロードし、展開後、コマンドラインでflutter doctorを実行するとツール類がそろっているかチェックしてくれるのですが怒られました。\\ 
-①Androidのコマンドラインツールがないといわれています。Android Studioは入れてあったんですが。 +①Androidのコマンドラインツールがないといわれています。Android Studioは入れてあったんですが。\\   
-②Visual Studioもないといわれてますね。+②Visual Studioもないといわれてますね。 \\ 
  
 <code> <code>
行 35: 行 35:
 ===== Flutterで使用するAndroid SDKのコマンドラインツールを導入する ===== ===== Flutterで使用するAndroid SDKのコマンドラインツールを導入する =====
  
-①は以下の方法で対応してみました。+①は以下の方法で対応してみました。\\
  
   - Android Studioを起動し、Tools→SDK ManagerでSDK Managerを開く。   - Android Studioを起動し、Tools→SDK ManagerでSDK Managerを開く。
行 44: 行 44:
 {{:fluttererror1.png?600|}} {{:fluttererror1.png?600|}}
  
-flutter doctorを再度実施。+flutter doctorを再度実施。\\
  
 <code> <code>
行 65: 行 65:
 </code> </code>
  
-今度はライセンス同意していないといわれました。言われたとおりにflutter doctor --android-licensesを実行してみます。+今度はライセンス同意していないといわれました。言われたとおりにflutter doctor --android-licensesを実行してみます。\\
  
 <code> <code>
行 80: 行 80:
 </code> </code>
  
-全てのライセンスでyで同意しました。+全てのライセンスでyで同意しました。\\
  
 <code> <code>
行 100: 行 100:
 </code> </code>
  
-すると、Androidのチェックは通りました!+すると、Androidのチェックは通りました!\\
  
 ===== Visual Studioの導入 ===== ===== Visual Studioの導入 =====
  
-Visual Studioが入っていないので導入してみます。+②についてはVisual Studioが入っていないので導入してみます。\\
  
-  - [[https://visualstudio.microsoft.com/ja/downloads/|こちらからVisual Studioのコミュニティ版]]をダウンロードしてインストール{{:fluttererror2.png?600|}} +  - [[https://visualstudio.microsoft.com/ja/downloads/|こちらからVisual Studioのコミュニティ版]]をダウンロードしてインストール\\   {{:fluttererror2.png?600|}} 
-  - C++によるデスクトップ開発のみチェックしてインストールしてみます。{{:fluttererror3.png?600|}}+  - C++によるデスクトップ開発のみチェックしてインストールしてみます。\\   {{:fluttererror3.png?600|}} 
 +  - インストールできました。\\   {{:fluttererror4.png?600|}}
  
 +再度flutter doctorを実行してみると\\
 +<code>
 +Doctor summary (to see all details, run flutter doctor -v):
 +[✓] Flutter (Channel stable, 2.10.0, on Microsoft Windows [Version 10.0.22000.434], locale ja-JP)
 +[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
 +[✓] Chrome - develop for the web
 +[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.5)
 +[✓] Android Studio (version 2021.1)
 +[✓] VS Code (version 1.63.2)
 +[✓] VS Code, 64-bit edition (version 1.26.0)
 +[✓] Connected device (3 available)
 +[✓] HTTP Host Availability
 +
 +• No issues found!
 +</code>
 +エラーはなくなりました!\\
  
  
flutterinstallerr.1644197322.txt.gz · 最終更新: 2022/02/07 10:28 by muranko