org.gradle.tooling.BuildException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.10-all.zip'.

Stack Overflow | Yves Gonzaga | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Configured compileSdkVersion is invalid

    Stack Overflow | 10 months ago | Yves Gonzaga
    org.gradle.tooling.BuildException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.10-all.zip'.
  2. 0

    configured androidsdk is invalid: C:\Program Files\android-sdk; How to overcome this error??? please help me

    rishitnandan.com | 2 years ago
    org.gradle.tooling.BuildException: Could not execute build using Gradle distribution ' '.

    1 unregistered visitors

    Root Cause Analysis

    1. org.gradle.api.GradleException

      Configured compileSdkVersion is invalid: 21 (C:/Users/flashery/AppData/Local/Android/sdk/platforms/android-21

      at org.javafxports.jfxmobile.plugin.android.AndroidExtension.validate()
    2. org.javafxports.jfxmobile
      JFXMobilePlugin$_apply_closure5.doCall
      1. org.javafxports.jfxmobile.plugin.android.AndroidExtension.validate(AndroidExtension.groovy:106)
      2. org.javafxports.jfxmobile.plugin.android.AndroidExtension$validate.call(Unknown Source)
      3. org.javafxports.jfxmobile.plugin.JFXMobilePlugin.configureAndroid(JFXMobilePlugin.groovy:556)
      4. org.javafxports.jfxmobile.plugin.JFXMobilePlugin.this$2$configureAndroid(JFXMobilePlugin.groovy)
      5. org.javafxports.jfxmobile.plugin.JFXMobilePlugin$_apply_closure5.doCall(JFXMobilePlugin.groovy:213)
      5 frames
    3. Gradle Core
      ClosureBackedMethodInvocationDispatch.dispatch
      1. org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:40)
      2. org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:25)
      2 frames
    4. org.gradle.internal
      BroadcastDispatch.dispatch
      1. org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
      2. org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
      3. org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
      3 frames
    5. Gradle Core
      ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
      1. org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      1 frame
    6. com.sun.proxy
      $Proxy53.graphPopulated
      1. com.sun.proxy.$Proxy53.graphPopulated(Unknown Source)
      1 frame
    7. Gradle Core
      DefaultGradleLauncher.run
      1. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:108)
      2. org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
      3. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
      4. org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
      5. org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
      6. org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
      7. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
      8. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
      9. org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
      10. org.gradle.internal.Factories$1.create(Factories.java:22)
      11. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
      12. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
      13. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
      14. org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
      15. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
      16. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
      17. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
      18. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
      19. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
      20. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
      20 frames
    8. Gradle Launcher
      InProcessBuildActionExecuter$DefaultBuildController.run
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
      1 frame
    9. org.gradle.tooling
      BuildModelActionRunner.run
      1. org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:46)
      1 frame
    10. Gradle Launcher
      ChainingBuildActionRunner.run
      1. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      1 frame
    11. org.gradle.tooling
      SubscribableBuildActionRunner.run
      1. org.gradle.tooling.internal.provider.runner.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:58)
      1 frame
    12. Gradle Launcher
      ForwardClientInput$2.call
      1. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      2. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
      3. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
      4. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
      5. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:48)
      6. org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
      7. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
      8. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      9. org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
      10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      11. org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
      12. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      13. org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
      14. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      15. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
      16. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
      16 frames
    13. Gradle Core
      Swapper.swap
      1. org.gradle.util.Swapper.swap(Swapper.java:38)
      1 frame
    14. Gradle Launcher
      DaemonStateCoordinator$1.run
      1. org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
      2. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      3. org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)
      4. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      5. org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:66)
      6. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
      7. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      8. org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
      9. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
      10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      11. org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
      12. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      13. org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
      14. org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246)
      14 frames
    15. Gradle Core
      StoppableExecutorImpl$1.run
      1. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      2. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      2 frames