Questions tagged [flutter-doctor]
The flutter-doctor tag has no usage guidance, but it has a tag wiki.
flutter-doctor
118
questions
581
votes
25
answers
570k
views
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://...
339
votes
15
answers
132k
views
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.<init>(SchemaModule.java:156)
...
227
votes
30
answers
271k
views
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 ...
65
votes
21
answers
178k
views
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 ...
16
votes
9
answers
30k
views
'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 says
'(C:\Users\...
10
votes
5
answers
48k
views
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 ...
7
votes
5
answers
13k
views
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/...
7
votes
6
answers
1k
views
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 ...
4
votes
2
answers
370
views
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,...
3
votes
2
answers
9k
views
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 ...
3
votes
1
answer
796
views
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 ...
3
votes
0
answers
748
views
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.
• ...
2
votes
6
answers
6k
views
Flutter Doctor: Error when running "flutter doctor --android-licenses"
I get this error when I try to run "flutter doctor --android-licenses" and I can't figure out why.
Error: A JNI error has occurred, please check your installation and try again
Exception in ...
2
votes
3
answers
3k
views
Flutter: Some Android licenses not accepted. Cannot accept licenses
I'm unable to accept licenses. When I run flutter doctor -v, this is displayed:
[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /home/gledyson/bin/...
2
votes
2
answers
6k
views
How to upgrade your flutter project (app) to the latest flutter version after null safety?
I want to upgrade my project which is on Flutter 2.0 to the latest version of flutter (2.5).
I have already seen this question which is most relevant.
How do I upgrade an existing Flutter app?
In my ...
2
votes
1
answer
4k
views
Flutter doctor cannot find CHROME_EXECUTABLE in android studio even though I have set CHROME_EXECUTABLE in .bashrc
I have exported the CHROME_EXECUTABLE in my .bashrc and
I have no issues when i run flutter doctor in my terminal. See the below output
Doctor summary (to see all details, run flutter doctor -v):
[✓] ...
2
votes
2
answers
2k
views
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 ...
2
votes
2
answers
2k
views
! 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 ...
2
votes
1
answer
2k
views
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
2
votes
1
answer
955
views
How does Flutter doctor detects two differenct Flutter versions
I am trying to run my Flutter app on Android studio however I get the E/flutter (25907): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation ...
2
votes
1
answer
1k
views
Stuck at Downloading Dart SDK from Flutter engine
When I enter flutter doctor command Downloading Dart SDK from Flutter engine ... displayed in the screen but progress bar is not displayed. Actually command prompt screen look like this
2
votes
1
answer
2k
views
Flutter Doctor - Cannot determine if IntelliJ is installed
Flutter Doctor - Cannot determine if IntelliJ is installed
I have tried installing flutter 2.2 on my Mac OSX but flutter doctor was throwing a error for IntelliJ. I have already installed IntelliJ ...
1
vote
2
answers
1k
views
Flutter Unable to find git in your PATH (Windows)
I created a new user on my windows PC and can't get flutter to work on it.
Flutter and git are both installed in a shared folder (like C:\shared_programs\...).
I made sure that both users have full ...
1
vote
1
answer
1k
views
how to get Android SDK Command-line Tools other version(not latest)
I'm using Java 1.8 OpenJDK.
I assume I need to use Android SDK Command-line Tools 8. not latest.
to pass all flutter doctor thing.
Does anyone know how I can get it?
I tried install latest version but ...
1
vote
5
answers
4k
views
pub get failed/exit code: 69
I just downloaded and installed flutter SDK(archive).
when I run the "flutter doctor" command on my mac m1 terminal I receive this error. pub get failed/exit code: 69
thank you for guiding ...
1
vote
3
answers
5k
views
How to fix Failed to connect to host for https://cocoapods.org in flutter?
When I run 'flutter doctor -v' Flutter (Channel stable, 3.7.5, on macOS 13.2.1 22D68 darwin-arm64) , I get this check:
[!] HTTP Host Availability
✗ HTTP host "https://cocoapods.org/" is ...
1
vote
4
answers
8k
views
when I start to run flutter doctor it say X Android SDK file not found: adb. how I solve this problem
C:\Users\ASUS>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19042.1526], locale en-US)
[!] ...
1
vote
2
answers
2k
views
I have installed flutter in E drive but android studio in C drive. will it work?
I had installed Android studio in C drive for developing using java, but now I want to install flutter, and I have installed it in E drive. But when running flutter doctor, I get the following error:
...
1
vote
1
answer
174
views
flutter commands arent Running in my command prompt, when i write flutter,i waited for an hour still didnt show anything im using win 10 pro, i tryed
i formatted my pc windows 10 , i installed window 10 pro and installed java jdk v 11, also visual studio installer, vs code android studio, all possible solutions for not recognizing flutter or ...
1
vote
1
answer
166
views
Flutter Doctor Searching wrong JAVA_HOME
I have set JAVA_HOME to: /Library/Java/JavaVirtualMachines/jdk-16.0.2.jdk/Contents/Home
When I run flutter doctor on my terminal, I get no errors. When I run flutter doctor on Visual Studio Code, I ...
1
vote
1
answer
417
views
Flutter doctor isn't going well
After installing flutter sdk, android studio, and flutter plugin..
*1st I copied Android SDK tools manually because android studio didn't download it from web !!
*2nd When I tried to write "...
1
vote
0
answers
74
views
"Unable to determine VS Code version" - flutter doctor -v
Unable to determine VS Code version
Hi,
With this error also flutter is working perfectly but I need to mark this issue also in green color tick. Therefore you can help me in this matter.
I really ...
1
vote
0
answers
347
views
Flutter doctor Command shows "unable to confirm if Installed Windows versions is 10 or greater)
as shown above I have every thing correctly installed for Flutter v3.7.8 but the Flutter dotor command shows the message "Windows Version (Unable to confirm if installed Windows version is 10 or ...
1
vote
0
answers
172
views
The SDK directory is not writable but flutter wanted to install Android SDK in the directory
I try to run my testprogram. The android studio replies "The SDK directory is not writable (C:\Program Files (x86)\Android\android-sdk)".
Well flutter doctor wanted me to install it in this ...
1
vote
2
answers
4k
views
Flutter version 3.3.2 on channel unknown at D:\flutter Upstream repository unknown
So I want to upgrade flutter version, but when I run flutter doctor, this error appears
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel unknown, 3.3.2, on Microsoft ...
1
vote
2
answers
55
views
As soon as I open the Flutter doc file the command prompt opens only for a second and then it get closed immediately
I tried opening the Flutter doc file after installing it on Windows 8.1 Pro. I have only tried double-clicking (left mouse) on the file.
1
vote
2
answers
219
views
I getting a error in flutter doctor cmd tools in ubuntu 21.04
I getting the following error in flutter doctor cmd tools, when I run the command flutter doctor in the terminal in ubuntu 21.04.
cmd Error
I tried to solve in ubuntu but my try is waste next what ...
1
vote
0
answers
75
views
When I ran flutter doctor, I got two errors
When I ran flutter doctor, I got two errors.
1 - It says Visual Studio Not Downloaded Although I Downloaded
2 - Can't Accept Android License
When I type flutter doctor --android-licenses, I see ...
1
vote
1
answer
499
views
Stuck at flutter doctor, anyone can help me?
I'm a beginner
And don't know how to solve this problem:
When running flutter doctor, the result is always like this:
Could not resolve URL "https://pub.dartlang.org", pub get failed (server ...
1
vote
2
answers
351
views
Flutter Doctor crash
I'm following the instructions to install flutter, it's my first install and I'm being careful not to miss a step. But...
Everything is going well until I try to run flutter doctor. I have updated the ...
0
votes
1
answer
782
views
Flutter doctor --android-licenses error: A JNI error has occurred, please check your installation and try again
I set JAVA_HOME and install android SDK command-line Tools but I still get an error
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" ...
0
votes
1
answer
368
views
Flutter doesnt seem to be working on my new PC
I got a new system and I've been trying to set up my AS to run flutter but it's not working. After installing git, downloading the flutter zip file and setting up the user variable path, flutter ...
0
votes
1
answer
9k
views
What is HTTP Host Availability in flutter doctor 2.10?
When I run flutter doctor -v in Flutter version 2.10 stable channel, I get this new check:
[✓] HTTP Host Availability
• All required HTTP hosts are available
It is working alright but exactly is ...
0
votes
1
answer
510
views
flutter doctor --android-licenses java.lang.module.FindException: Module java.xml.bind not found
I'm trying to install Flutter but when I run flutter doctor --android-licences I have this error
java.lang.module.FindException: Module java.xml.bind not found
I have enable Android SDK Commande-line ...
0
votes
1
answer
546
views
I Upgrade Flutter 1.22.4 to Flutter 2.0.1 but still I don't have web support on my pc
I upgrade flutter to the latest version of Flutter stable channel which is also support web but not in my pc it doesn't show web and chrome see the image below.
and please help me.....
0
votes
5
answers
6k
views
Error in Network Resources section of flutter doctor
Got the following result when I ran flutter doctor:
Network resources
X A cryptographic error occurred while checking "https://pub.dev/": Handshake error in client
You may be ...
0
votes
2
answers
234
views
Flutter doctor warns about Dart's path after upgrading to Flutter version 3.7.0
After upgrading Flutter to version 3.7.0, this following warning persists from Flutter doctor. I have tried everything but the problem still remains. Anything I can do?
Flutter doctor warns on Dart ...
0
votes
3
answers
436
views
cocoapods intallation Errors in mac for flutter doctor
I install Homebrew.
Then I run command
"brew install cocoapods". It install successfully
but in flutter doctor i got error: cocoapods installed but not working properly. Error because of ...
0
votes
1
answer
379
views
Gradle Could not GET. Received status code 502 from server: Bad Gateway
When I add image_picker: ^0.6.5+3 as a dependency in my pubspec.yaml file, I get the following:
Terminal Output:
Launching lib/main.dart on sdk gphone64 x86 64 in debug mode...
lib/main.dart:1
...
0
votes
1
answer
991
views
flutter doctor ~ VS Code "Desktop Development in C++" error
The Flutter Doctor is showing this error:
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https:// visualstudio. microsoft ...