AndroidStudio 报错 “The path to Git executable is probably not valid”

升级到Mac os MoJave之后,AS的git提示“The path to Git executable is probably not valid.”。

在设置的git上,出现Error Running Git。

在百度的时候,大多都是执行,“xcode-select --install”。大概的意思就是升级新系统之后,需要一个Xcode

的权限。然后没有用。

之后我把我的Git直接删除了,然后再https://sourceforge.net/projects/git-osx-installer/postdownload,下载安装之后还是同样的错误。

之后设置了Path。

OK。

猜你喜欢

转载自blog.csdn.net/qq_37492806/article/details/83714934