LoginSignup
koukotumoji193
@koukotumoji193 (土 風)

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

flutter 環境構築

解決したいこと

flutter初心者の者です。windows11で flutteの環境構築をしようとしているのですが、android studioを入れているのにflutter doctorを打つと画像のようにerrorが発生します。どなたか教えて頂けると幸いです!

発生している問題・エラー

PS C:\> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.22000.376], locale ja-JP)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[!] Android Studio
    ✗ android-studio-dir = C:\Program Files\Android\Android Studio
    ✗ Unable to find bundled Java version.
[✓] VS Code (version 1.62.3)

2022-01-11 (1).png

0

Your answer might help someone💌