错误:Repository test has failed (Android studio git配置)

错误:Repository test has failed (Android studio git配置)

错误:Repository test has failed (Android studio git配置)_第1张图片

本错误因为git没配好导致:所以重新配置就行

①下载git:https://pan.baidu.com/s/1kU5OCOB#list/path=%2Fpub%2Fgit

②傻瓜式安装,不停的点下部就行:(可以选择安装路径,这个路径后面要用)

开始菜单里找到“Git”->“Git Bash”,蹦出一个类似命令行窗口的东西,就说明Git安装成功!

④打开Android studio setting如下图设置:

错误:Repository test has failed (Android studio git配置)_第2张图片

路径不选错:安装路径下的D:\git\Git\cmd\git.exe填好后点击Test成功效果如图:

错误:Repository test has failed (Android studio git配置)_第3张图片




你可能感兴趣的:(Android,studio,配置错误集锦)