Official flutter doctor documentation can be found here. flutter doctor
is a console command to check if there are any platform dependencies one needs to complete the Flutter setup. A report of the status of one's Flutter installation is displayed.
Questions tagged [flutter-doctor]
103 questions
494
votes
23 answers
I am getting error "cmdline-tools component is missing" after installing Flutter and Android Studio... I added the Android SDK. How can I solve them?
Android toolchain - I develop for Android devices (Android SDK version 30.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…

Ashfaq
- 4,943
- 2
- 7
- 6
328
votes
12 answers
flutter doctor --android-licenses gives a java error
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.(SchemaModule.java:156)
at…

Vivek Kogilathota
- 3,301
- 2
- 6
- 3
225
votes
30 answers
Flutter plugin not installed error; When running 'flutter doctor'
I am configuring the Flutter SDK on my Linux Ubuntu 16.04 (Xenial Xerus) system. Why am I getting the following error when I run the flutter doctor?
I have specified both PATHS for flutter and dart in the .bashrc file, but I get this error when I…

Philip Mutua
- 6,016
- 12
- 41
- 84
64
votes
21 answers
flutter doctor doesn't work on neither Command Prompt or PowerShell window?
flutter doctor doesn't work on either Command Prompt or PowerShell window?
I have been trying to install flutter on windows. I have cloned the Flutter SDK as mentioned in the tutorial. I have added git and the flutter to my path. But still when I…

maaoui karim
- 659
- 1
- 5
- 13
10
votes
5 answers
Flutter doctor - Windows Version (Unable to confirm if installed Windows version is 10 or greater)
I just updated my Flutter form 3.5.0-12.0.pre.168 to 3.6.0-1.0.pre.35 on the master channel.
Im on the master channel because on the stable channel I have troubles with keyboard inputs. But that shouldn't have to do anything with this "problem".…

F.M.
- 630
- 1
- 5
- 18
7
votes
6 answers
Android Electric eel Mac M1: Unable to find bundled java version when running flutter doctor -v
I am having problems with android studio upon updating to electric eel. This was not a problem before update. I have a Mac M1 and flutter version is Flutter 3.3.10 • channel stable
When Running flutter doctor -v I get this for the android studio…

Julia Pak
- 475
- 6
- 19
7
votes
5 answers
'Android sdkmanager tool found, but failed to run' for flutter doctor --android-licenses
I've been trying to setup flutter with android studio on my laptop (Windows 11), and as I tried to agree to the android licenses the below error occured :
The first error in red…

J930911
- 371
- 2
- 3
- 6
7
votes
5 answers
Flutter Doctor gives Bad Cpu Type in executable
I'm using Mac mini , MacOs monterey and m1 chip. When trying to setup flutter, it is giving error.
command: flutter doctor
o/p: /Users/admin/Desktop/flutter/bin/internal/shared.sh: line 229: /Users/admin/Desktop/flutter/bin/cache/dart-sdk/bin/dart:…

Taniksha Sharma
- 69
- 1
- 5
4
votes
2 answers
Unable to find bundled java version. flutter doctor
I'm facing this issue on windows after upgrading Android Studio to Electric Eel.
flutter doctor returns:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version 10.0.22621.1105],…

ALI USAMA
- 315
- 1
- 12
3
votes
1 answer
How to Fix Install Clang and libgtk-3-dev in Flutter Doctor Ubuntu 22.04
I tried to install flutter requirement on ubuntu 22.04.LTS.
➜ ~ flutter doctor
In flutter doctor I found issue 1 category in linux toolchain
but after I tried in various ways still can't install clang
I've also tried to install libgtk-3-dev but…

Mr Ginting
- 324
- 1
- 6
3
votes
0 answers
Change java binary used by android sdk
How do I change the Java Binary used by the android SDK. I installed a different JDK and would like to use that. I have tried changing the JDK path in android Studio but that doesn't change it.
• Flutter version 2.4.0-1.0.pre.45 at…

nonybrighto
- 8,752
- 5
- 41
- 55
3
votes
2 answers
Flutter project doesn't open on Chrome
It's been 5 days since I'm struggling with this problem and tried all the solution on StackOverflow but still can't open the app on Chrome :
What I have tried. I really appreciate it if you can help with that.
I have tried HTML files, chrome opens…

DAni M
- 683
- 1
- 10
- 21
2
votes
2 answers
! Unable to locate a Windows 10 SDK. If building fails, install the Windows 10 SDK in Visual Studio
I'm experiencing below error in my Wondows 10 PC during flutter installation.
I'm attaching pictures as well. I retried removal and reinstallation below versions as well as version 11 SDK.
Windows 10 SDK (10.0.20348.0)
Windows 10 SDK…

Jahangir Alam
- 67
- 7
2
votes
2 answers
Setting up the Android Studio directory on Flutter Doctor
I'm setting up an application development environment with Flutter.
I'm having trouble installing Android Studio: I can't set the directory where Android Studio is installed. I've got an error, as shown in the picture. How do I find the correct…

ariJourney
- 21
- 4
2
votes
1 answer
error in flutter doctor, win 10 SDK unable to locate
i try all option but i can´t get it work.
run in WIN11
Last Update. still same error

Gustavo Miño
- 91
- 1
- 7