Mac下Android Studio git使用test失败

来源:互联网 发布:虚拟机ubuntu无法联网 编辑:程序博客网 时间:2024/06/05 11:07

最近一段时间公司给配了台mac ,于是开发由windows转mac了。

直接进入正题吧。

报错信息

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解决办法:

在终端输入:xcode-select --install,会提示安装xcode.然后点击安装,重启AS。再次测试即可

0 0