Unable to run flutter command on MS VS code - windows

I have created a flutter project on VS, and could not run any command through VS code's terminal, I have reinstalled the VS code and still give me this error:
I have installed it again and don't know why it stays it is not installed!
Any idea how to solve it?
Thank you

From your image; you are using Visual Studio Code, not Visual Studio.
Flutter 2.10 arrives with stable support for building Windows app, for more.
Therefore, while running flutter doctor you are able to see this error. If you've plan to build Windows app, you need to install Visual Studio with Desktop development with C++. You need to download and install Visual studio if you wish to remove this error.
You can read more about build for window here.

Related

Cant download andrioid emulator in Visual Studio 2019

I'm trying to learn Xamarin but I cant seem to install Android emulator (not talking about the standalone version) Visual studio. I keep on getting the errors:
Install Android Studio and install the android packages from there. The program takes care of a lot of the initialisation process when installing the Android SDk, platforms tools, and the emulator. It seems to do a better job at it than Visual studio.
From the screenshot, the manager is being downloading the SDK Platforms 29, you should wait for other processes be finished. Then click the option of Android Emulator and Apply Changes to check whether it works.

xamarin android emulator not able to start

I am unable to run my Xamarin project in the android emulator there is no start button just an error. The repair option is grayed out and the only option I can do is Duplicate which says I need to repair? if I try and install a new device I get an image failed message.
Is there anyway to fix this? Or delete and reinstall?
Select x86 instead of x86. HAXM works with x86
Check your installed SDKs in Android SDK manager within Visual Studio
if API 28 is missing download it. You need below 3 highlighted in order for x86-64 to work
If above doesnt work
Best option now is to repair Visual Studio with Android SDK
If that does not work uninstall and reinstall Visual Studio.

Unable to open Xamarin Studio on Windows 10

I Have been follow the steps in this video to install xamarin studio without visual studio
How to install Xamarin Studio in windows
and when i try to open it its not working,no message no anything
I try to run it as administrator and its doesnt work
If you look in the IDE log file, which is in the %AppData%\Local\Xamarin-Studio-6.0\Logs directory and you see an error similar to:
System.DllNotFoundException: Unable to load DLL 'libglib-2.0-0.dll': The specified module could not be found.
Then you may be able to fix this by installing an older version of GTK#. Full steps to do this are:
Stop Xamarin Studio.
Uninstall GTK#.
Install an older version of GTK# such as GTK# 2.12.30
Xamarin Studio on Windows 10 requires a bit of modification since we do not ship it in our Windows installer anymore:
https://www.xamarin.com/faq#xpq6
It is highly recommended to use Visual Studio on Windows as it is free with the Community Edition.

Error 1603 while installing Visual Studios for Hololens Development

I am trying to develop apps for Hololens
After setup of Visual studios 2015 runs and gets completed, With a yellow triangle representing error it states, setup complete. However, not all features installed correctly.
Tools for Universal Windows App(1.4.1) and Windows SDK(10.0.14393)
The installer Failed. Fatal error during installation. Error code:1603
I have tried to reinstall visual studios community 2015, same error comes. I also tried to uninstall separately Windows SDK 10.0.014393.33 and run the VS setup again, it doesn't help as well.
I would recommend uninstalling visual studio, update Windows to the latest version, redownload the visual studio installer, disable antivirus and try again. If that doesn't work, Microsoft has a whole forum dedicated to troubleshooting VS install issues at:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vssetup
You are almost certain to get a better response there.

visual studio stops and restarts if I run cordova application

I am using CLI tool to build cordova app on windows phone (Universal).
It was working fine until I install the apache cordova tools for visual studio 2015.
Now when I click on any button on the home page app will crash and VS2015 will be restarted. I have uninstall the Cordova tool but the issue still persists.
But i am able to run the application on SIM/Device after the crash.
Any help appreciated.
I found a root cause for the above issue. Visual Studio stops and restarts if i add jquery.mobile.1.4.5.min.js into my project. Yet to figure out the solution for this issue.
But I got to know the work around for it. just use the library jquery.mobile.1.4.0.min.js

Resources