安装Facebook&Buck的问题

时间:2015-09-24 01:18:58

标签: facebook build-process buck

我试图安装降压,但我收到以下错误:

M00972632:~ blah$ brew install --HEAD buck
==> Installing buck from facebook/homebrew-fb
==> Cloning https://github.com/facebook/buck.git
Updating /Library/Caches/Homebrew/buck--git
==> Checking out branch master
==> ant
==> ./bin/buck build buck
Last 15 lines from /Users/blah/Library/Logs/Homebrew/buck/02.buck:
at com.facebook.buck.shell.Genrule$2.addEnvironmentVariables(Genrule.java:303)
at com.facebook.buck.shell.AbstractGenruleStep.getEnvironmentVariables(AbstractGenruleStep.java:67)
at com.facebook.buck.shell.ShellStep.getDescription(ShellStep.java:231)
at com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget(DefaultStepRunner.java:56)
at com.facebook.buck.rules.CachingBuildEngine.executeCommandsNowThatDepsAreBuilt(CachingBuildEngine.java:958)
at com.facebook.buck.rules.CachingBuildEngine.access$6(CachingBuildEngine.java:941)
at com.facebook.buck.rules.CachingBuildEngine$1.apply(CachingBuildEngine.java:367)
at com.facebook.buck.rules.CachingBuildEngine$1.apply(CachingBuildEngine.java:1)
at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:906)
at com.google.common.util.concurrent.Futures$1$1.run(Futures.java:635)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

[-] BUILDING...FINISHED 3.6s

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/facebook/homebrew-fb/issues

我确保更新并安装Buck页面要求的所有内容。提前谢谢。

1 个答案:

答案 0 :(得分:0)

正如@ k21在问题评论中所说,问题是ANDROID_HOME被设置为无效目录,因此Buck感到困惑。