'flutter installation not working for windows developement while flutter doctor returns positive results ..windows not connected after some time

I install visual studio for windows app development with flutter .Few hours after installation the windows device was being detected and I was even building windows apps. later when I run "flutter run" the windows device does not show up or "flutter -d windows" does not work.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source