关于mac安装安卓源代码问题

chenyudong 发布于 2012/02/24 08:44
阅读 892
收藏 0

【Gopher China万字分享】华为云的Go语言云原生实战经验!>>>

我在安装安卓源代码报错:如下

 

bogon:~ qingfengshizi$ sudo port install gmake libsdl git-core gnupg

Warning: xcodebuild exists but failed to execute

Warning: Xcode does not appear to be installed; most ports will likely fail to build.

--->  Computing dependencies for gmakeError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?

To report a bug, see <http://guide.macports.org/#project.tickets>

从错误看似乎路径配错了,那xcode 的build在那个路径,用什么命令可以查询出来?

 


加载中
0
douglarek
douglarek
我去,没装xcode,,,,,
0
c
chenyudong

我装了xcode lion最新版本的

 

0
g
girlcar

  1. You need to install the command line tools. You do this from within Xcode's Preferences window's Downloads section. You may need a free Apple Developer account to do this.
  2. You need to agree to Xcode's license agreement by typing "sudo xcodebuild -license" in the Terminal
  3. You may need to select your Xcode installation by typing "sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer"
返回顶部
顶部