Open XavierChanth opened 1 month ago
I was trying to run the app for windows. i got the following error . I was on android studio.
windows/flutter/CMakeLists.txt does not use FLUTTER_TARGET_PLATFORM, updating.
Error: Unable to find suitable Visual Studio toolchain. Please run flutter doctor
for more details.
Error: Unable to find suitable Visual Studio toolchain. Please run
flutter doctor
for more details.
Looks like you are missing some tooling, can you provide the output to flutter doctor
as mentioned in the error message?
Hi here is the output.
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.22.3, on Microsoft Windows [Version 10.0.22631.4169], locale en-IN)
! Flutter version 3.22.3 on channel [user-branch] at C:\flutter
Currently on an unknown channel. Run flutter channel
to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2023.2)
[√] Android Studio (version 2024.1)
[√] IntelliJ IDEA Community Edition (version 2024.2)
[X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components
The flutter tools tell you exactly what you need to do
_Originally posted by @Aniket8195 in https://github.com/atsign-foundation/atmosphere_pro/issues/407#issuecomment-2386620951_
@Aniket8195 can you please elaborate: What errors are you seeing? What commands are you running to achieve those errors?