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

后端 未结 20 2483
有刺的猬
有刺的猬 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-13 00:01

    I have this issue when having two Xcode (ver.7 and ver.8) apps installed in my Mac OS Sierra.

    What I do is simply open the Xcode 8, go to Preferences, select Locations in tab, and set the Command Lines Tools to Xcode 8.0.

提交回复
热议问题