Mac下Android Studio git使用test失败

    xiaoxiao2021-03-25  96

    最近一段时间公司给配了台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。再次测试即可

    转载请注明原文地址: https://ju.6miu.com/read-19882.html

    最新回复(0)