1.解决git报ssh variant 'simple' does not support setting port
解决办法
在git bash中输入命令
git config --global ssh.variant ssh
2.今天Android studio 更新后报 "Failed with error: Could not read from remote repository."这个错误。
解决办法
1、Settings -> Version Control -> Git -> SSH executable 选项改成Native。
2、进入项目里面.git文件夹,用编辑器打开config文件,把url改成正确的地址。