问题
今早手贱更新了10.12,Android Studio的git出现这样的问题:
Can't start Git:/usr/bin/git
命令行的git出现这样的问题:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方法
重新安装Xcode Command Line Tools。
xcode-select --install
网友评论