OS X - Can't start Git: /usr/bin/git Probably the path to Git executable is not valid

后端 未结 20 2461
有刺的猬
有刺的猬 2020-12-12 23:16

I get this error in Android Studio:

Can\'t start Git: /usr/bin/git Probably the path to Git executable is not valid.

<
20条回答
  •  天命终不由人
    2020-12-12 23:38

    I had updated Xcode last night. I ran git as root via sudo in the terminal and then it said I have not agreed to the Xcode licence terms, and allowed me to view them and then agree in the terminal. I probably would have got the GUI version if I tried to open Xcode.

提交回复
热议问题