0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Flutter】Androidのsdkmanagerが見つからない場合の対処(Windows)

Posted at

flutterの環境を作ろうとしてハマったので覚え書き

エラー内容

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    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.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/to/windows-android-setup for more details.

上記のsdkmanagerが見つからないし、まずもってAndroid SDKがない?

対処

  1. Android Studioを起動
  2. 右上の[...]から、[SDK Managar]を選択
    image.png
  3. たしかここの[Edit]を選ぶとSDKがインストールできた、はず(画像はインストール済みの状態、ご容赦を)
    image.png
  4. [SDK Tools]タブの[Android SDK Command-line Tools(latest)]をチェック入れる
    image.png
  5. 下部の[Apply]ボタンでインストール!

後書き

今後もUIが変更されて意味のない情報になることが予想されます
とはいえ現状困っている人の力になれれば幸いです

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?