安卓工作室 : Can't start Git

标签 android git android-studio

当我启动 Android Studio 时有一条消息

Can't start Git: C:\Program Files (x86)\Git\cmd\git.cmd Probably the path to Git executable is not valid. Fix it.

但我可以看到 git.cmd 在那里。那我该如何解决这个问题呢?

最佳答案

今天早上出于某种原因,我不得不通过在命令行中以管理员身份运行 git 来同意条款和条件。

在 Mac 上

sudo/usr/bin/git

在电脑上

c:\path\to\git.exe

接受 EULA。

完成此操作后,我可以在我的 IDE 中使用 git。

关于安卓工作室 : Can't start Git,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17007244/

相关文章:

java - 需要帮助解决 ExpandableListView 中的 IndexOutOfBoundsException

git - 如何在 Gerrit prolog 中获得特定审阅者投票而不是通过 Rest api?

git - 我如何识别 git 中的陈旧/死分支?

java - 如何将其从 IntelliJ 迁移到 Android Studio

java - Android Studio 自定义 ArrayAdapter 传递 HashMap 而不是 ArrayList

android - Facebook 应用程序请求未通过 Facebook Android SDK 发送给 Facebook 好友

php - onPostExecute 永远不会被调用,但 doInBackground 返回值

android - 无法在 Android Studio 中解析符号 webrtc

windows - 无法在 WebStorm 中克隆 git 存储库

android - 将项目更新为兼容 Android M