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

后端 未结 20 2384
有刺的猬
有刺的猬 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.

    0 讨论(0)
  • 2020-12-13 00:02

    I had the same problem in PhpStorm. This came to me after updating XCode on OS X EL Capitan. After this update I didn't open it to accept the license that was necessary for XCode and OS X. When I had accept the license the problem was resolved.

    0 讨论(0)
提交回复
热议问题