获取“存储库测试失败"在 Android Studio 中从 Gitlab 克隆存储库时出错? [英] Getting "Repositroy test has failed" error while cloning repository from Gitlab in Android Studio?
问题描述
我想从 Android Studio 0.8.1 中的 gitlab 存储库克隆我的 android 代码.我签入 VCS >> 从版本控制签出 >> Git >> 在此处添加了 HTTP url.它提示我Repositroy test has失败".请帮助我解决问题.我也检查了插件.非常感谢.
I will like to clone my android code from gitlab repository in Android Studio 0.8.1.I checked into VCS >> Checked out from Version Control >> Git >> Added HTTP url here.It prompts me that "Repositroy test has failed".Kindly help me to sort out the issue.I have checked the plugins as well.Thanks a lot.
推荐答案
需要从http://git-scm下载安装git.com/下载
然后你需要在AndroidStudio上跟踪git.exe:
Then you need to track the git.exe on AndroidStudio:
转到设置 > 项目设置 > 版本控制 > VCS > Git > Git 可执行文件的路径
Go to Settings > Project Settings > Version Control > VCSs > Git > Path to Git executable
选择(或输入)可执行路径,例如:D:\Program Files (x86)\Git\cmd\git.exe
Select (or type) executable path, eg: D:\Program Files (x86)\Git\cmd\git.exe
如果您安装了 Windows 版 GitHub Desktop
如果您有 Windows 版 GitHub Desktop,git.exe
将位于 C:\Users\YOUR_USER_NAME\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565zz218z5214zzz0e854zzza28\cmd
.
In case you have GitHub Desktop for Windows, git.exe
will be found at C:\Users\YOUR_USER_NAME\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565zz218z5214zzz0e854zzza28\cmd
.
这篇关于获取“存储库测试失败"在 Android Studio 中从 Gitlab 克隆存储库时出错?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!