开始菜单 -> 控制面板 -> 用户账户和家庭安全 -> 凭据管理器 -> 如下图,可编辑可添加
ps:如果你修改了某个代码托管平台的密码,那么android studio 就不能拉取和上传代码了。需要重新验证,也就是修改凭据
//找到host文件夹(C:\Windows\System32\drivers\etc),用记事本打开,添加下面的地址:192.30.253.112 github.com 192.30.253.119 gist.github.com 151.101.100.133 assets-cdn.github.com 151.101.100.133 raw.githubusercontent.com 151.101.100.133 gist.githubusercontent.com 151.101.100.133 cloud.githubusercontent.com 151.101.100.133 camo.githubusercontent.com 151.101.100.133 avatars0.githubusercontent.com 151.101.100.133 avatars1.githubusercontent.com 151.101.100.133 avatars2.githubusercontent.com 151.101.100.133 avatars3.githubusercontent.com 151.101.100.133 avatars4.githubusercontent.com 151.101.100.133 avatars5.githubusercontent.com 151.101.100.133 avatars6.githubusercontent.com 151.101.100.133 avatars7.githubusercontent.com 151.101.100.133 avatars8.githubusercontent.com