android - 尝试在 Android Studio 中使用 GitKraken 但遇到 "cant start git.exe"错误

标签 android git android-studio

我首先安装了“GitKraken”并将一个存储库克隆到一个目录中。现在我下载了“Android Studio”并转到同一个文件夹并单击“build.gradle”,如果我想构建一个项目,我通常会这样做。

但我一直收到错误提示“无法启动 git.exe”,当我单击它时,它会将我带到一个设置菜单,要求我提供一个 git 可执行文件的路径。

我真的不明白是什么导致了这个错误。感谢您的帮助。

最佳答案

GitKraken FAQ 中所述

Unlike other Git GUI clients, GitKraken is not a front-end GUI for your command line; no Git tools are required. It works directly with your repositories with no dependencies, which means a separate Git installation isn’t even required.
Because of this, we currently do not offer direct integration between GitKraken and the CLI.

因此,解压缩 latest Git For Windows Portable edition任何你想要的地方(PortableGit-2.11.1-64-bit.7z.exe)

然后你可以refer to this Git from your Android Studio ,如评论和插图所示 this article .

http://user-image.logdown.io/user/756/blog/753/post/159805/aW22jGw0QgO4H5wlqRBd_git%20tool%20test.PNG

关于android - 尝试在 Android Studio 中使用 GitKraken 但遇到 "cant start git.exe"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42182498/

相关文章:

git - 我怎样才能看到我最后一次 git pull 的时间?

git - 损坏的 Git 存储库(数据流错误)

java - Android Studio - 我无法弄清楚是什么导致我的 StringArray 返回 NullPointerException 因为它记录为已初始化和填充

android-studio - 安卓工作室 : Adding a dependency that the IDE cannot download for itself

android - 电子邮件地址格式错误 Firebase

android - Xamarin.Android 在 Android 7 上发生错误

android - 如何在 android Nougat 及以上版本中创建 Notification.contentView?

git - 是否可以在不 pull 文件的情况下检查 DVC 元数据文件跟踪的文件版本是否存在于远程存储中?

java - 黑色 Activity 给出错误android studio

android - 如何在android中创建自定义通知布局?