'Is there any solution for flutter doctor not running?

flutter doctor doesn't work. I added all paths but when I print "flutter doctor" on cmd it shows that:

versionCheckError: Command exited with code 128: gti fetch** 
__flutter_version_check__ **stable**
**Standard error: fatal1: unable to access 
'https://github.com/flutter/flutter.git/': could not resolve host: 
github.com

then I tried again but it shows that:

Running "flutter pub get" in flutter_tools...

and nothing happened could anyone help me

I added C:\\src\\flutter\\bin but nothing happened



Sources

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

Source: Stack Overflow

Solution Source