1. 程式人生 > >AndroidStudio 報錯 “The path to Git executable is probably not valid”

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。