获取“存储库测试失败";从 Android Studio 中的 Gitlab 克隆存储库时出错? [英] Getting "Repositroy test has failed" error while cloning repository from Gitlab in Android Studio?

查看:24
本文介绍了获取“存储库测试失败";从 Android Studio 中的 Gitlab 克隆存储库时出错?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从 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/downloads

那么你需要在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)Gitcmdgit.exe

Select (or type) executable path, eg: D:Program Files (x86)Gitcmdgit.exe

如果您安装了 GitHub Desktop for Windows

如果您有 GitHub Desktop for Windows,git.exe 将位于 C:UsersYOUR_USER_NAMEAppDataLocalGitHubPortableGit_c7e0cbde92ba565zz218z5214zzz0e854zzza28cmd.

In case you have GitHub Desktop for Windows, git.exe will be found at C:UsersYOUR_USER_NAMEAppDataLocalGitHubPortableGit_c7e0cbde92ba565zz218z5214zzz0e854zzza28cmd.

这篇关于获取“存储库测试失败";从 Android Studio 中的 Gitlab 克隆存储库时出错?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆