I am trying to make a flutter web application on windows 10/vscode.
I successfully installed the latest flutterSDK, then configured with vscode.
Tried to run flutter doctor
:
The result:
PS D:WorkFlutterAppstodomy_app> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.19045.5131], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[X] Android toolchain - develop for Android devices
X 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/to/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
[!] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.42)
X The current Visual Studio installation is incomplete.
Please use Visual Studio Installer to complete the installation or reinstall Visual Studio.
[!] Android Studio (not installed)
[√] VS Code (version 1.96.0)
[√] Connected device (2 available)
[√] Network resources
! Flutter Doctor found issues in 3 categories.
And then tried to run flutter run -d chrome
:
The result:
Launching libmain.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome... 19.2s
Please help me.
Dejanbukdev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3