Code Monkey home page Code Monkey logo

openspatial-android-sdk's Issues

Error when running "buck build example" from openspatial-android-sdk/sdk

Using buckd.
[+] PROCESSING BUCK FILES...0.3s
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Invalid version string: build-tools-17.0.0
at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
at com.facebook.buck.command.Build.executeBuild(Build.java:239)
at com.facebook.buck.command.Build.executeAndPrintFailuresToConsole(Build.java:270)
at com.facebook.buck.cli.BuildCommand.runWithoutHelp(BuildCommand.java:368)
at com.facebook.buck.cli.AbstractCommand.run(AbstractCommand.java:133)
at com.facebook.buck.cli.BuckCommand.run(BuckCommand.java:80)
at com.facebook.buck.cli.Main.runMainWithExitCode(Main.java:654)
at com.facebook.buck.cli.Main.tryRunMainWithExitCode(Main.java:989)
at com.facebook.buck.cli.Main.runMainThenExit(Main.java:1046)
at com.facebook.buck.cli.Main.nailMain(Main.java:1075)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.martiansoftware.nailgun.NGSession.run(NGSession.java:338)
Caused by: java.lang.RuntimeException: Invalid version string: build-tools-17.0.0
at com.facebook.buck.util.VersionStringComparator.compare(VersionStringComparator.java:40)
at com.facebook.buck.android.AndroidPlatformTarget$3.compare(AndroidPlatformTarget.java:347)
at com.facebook.buck.android.AndroidPlatformTarget$3.compare(AndroidPlatformTarget.java:1)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:356)
at java.util.TimSort.sort(TimSort.java:216)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1454)
at java.util.Collections.sort(Collections.java:175)
at com.facebook.buck.android.AndroidPlatformTarget.pickNewestBuildToolsDir(AndroidPlatformTarget.java:342)
at com.facebook.buck.android.AndroidPlatformTarget.createFromDefaultDirectoryStructure(AndroidPlatformTarget.java:276)
at com.facebook.buck.android.AndroidPlatformTarget$AndroidWithGoogleApisFactory.newInstance(AndroidPlatformTarget.java:421)
at com.facebook.buck.android.AndroidPlatformTarget.getTargetForId(AndroidPlatformTarget.java:196)
at com.facebook.buck.cli.Main$1.get(Main.java:751)
at com.facebook.buck.cli.Main$1.get(Main.java:1)
at com.facebook.buck.step.ExecutionContext.getAndroidPlatformTarget(ExecutionContext.java:170)
at com.facebook.buck.android.DxStep.getShellCommandInternal(DxStep.java:117)
at com.facebook.buck.shell.ShellStep.getShellCommand(ShellStep.java:215)
at com.facebook.buck.shell.ShellStep.getDescription(ShellStep.java:246)
at com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget(DefaultStepRunner.java:56)
at com.facebook.buck.rules.CachingBuildEngine.executeCommandsNowThatDepsAreBuilt(CachingBuildEngine.java:702)
at com.facebook.buck.rules.CachingBuildEngine.access$4(CachingBuildEngine.java:678)
at com.facebook.buck.rules.CachingBuildEngine$1.apply(CachingBuildEngine.java:269)
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)
BUILD FAILED: Unexpected internal error (if you are using buckd, you should restart it).

I have tried restarting buck and buckd, and I also have android build tools 17.
Could you please help me with this issue?
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.