Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi , i am not able to setup the project locally . There are multiple error coming while running. Can anyone help me out. #411

Open
XavierChanth opened this issue Oct 1, 2024 · 4 comments

Comments

@XavierChanth
Copy link
Member

          Hi , i am not able to setup the project locally . There are multiple error coming while running. Can anyone help me out.

Originally posted by @Aniket8195 in #407 (comment)

@Aniket8195 can you please elaborate:
What errors are you seeing?
What commands are you running to achieve those errors?

@Aniket8195
Copy link

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.

@XavierChanth
Copy link
Member Author

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?

@Aniket8195
Copy link

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)

@XavierChanth
Copy link
Member Author

[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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants