org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':runOsgi'.

GitHub | fabianmeyer | 3 months ago
  1. 0

    Repetitive executions of the "runOsgi" task fail

    GitHub | 3 months ago | fabianmeyer
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':runOsgi'.
  2. 0

    Gradle error in Android Studio 0.5.4

    Stack Overflow | 3 years ago | spartak
    org.gradle.api.GradleException: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at <a href="http://gradle.org/docs/1.10/userguide/gradle_daemon.html" rel="nofollow">http://gradle.org/docs/1.10/userguide/gradle_daemon.html</a></p> <h2>Please read below process output to find out more:</h2> <p>Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.</p> <pre><code>at org.gradle.launcher.daemon.bootstrap.DaemonGreeter.parseDaemonOutput(DaemonGreeter.java:34)
  3. 0

    android studio 0.4.2: Gradle project sync failed error

    Stack Overflow | 3 years ago | Carlos Taylor
    org.gradle.tooling.GradleConnectionException: Could not run build action using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.9-all.zip'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android studio keeps crashing on launch

    Stack Overflow | 3 weeks ago | Devashish
    org.gradle.tooling.GradleConnectionException: Could not run build action using Gradle installation 'C:\Program Files\Android\Android Studio\gradle\gradle-2.14.1'.
  6. 0

    gradle error

    incubator-s4-user | 3 years ago | 唐装鼠
    org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.4-bin.zip'.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.gradle.api.GradleException

      None of the osgiMain jars [[]] contain a Main-Class in its Manifest. Please specify a runnable jar as a osgiMain dependency or the osgiMain property.

      at com.athaydes.gradle.osgi.OsgiRuntimeTaskCreator.selectMainClass()
    2. com.athaydes.gradle
      OsgiRunPlugin$_runOsgiTask_closure5.doCall
      1. com.athaydes.gradle.osgi.OsgiRuntimeTaskCreator.selectMainClass(OsgiRuntimeTaskCreator.groovy:105)
      2. com.athaydes.gradle.osgi.OsgiRuntimeTaskCreator$selectMainClass$1.callStatic(Unknown Source)
      3. com.athaydes.gradle.osgi.OsgiRunner.run(OsgiRunner.groovy:19)
      4. com.athaydes.gradle.osgi.OsgiRunner$run.call(Unknown Source)
      5. com.athaydes.gradle.osgi.OsgiRunPlugin$_runOsgiTask_closure5.doCall(OsgiRunPlugin.groovy:95)
      5 frames
    3. Gradle Core
      DefaultGradleLauncher.run
      1. org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:558)
      2. org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:539)
      3. org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:77)
      4. org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:73)
      5. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
      6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
      7. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
      8. org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
      9. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
      10. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      11. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
      12. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
      13. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
      14. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
      15. org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:310)
      16. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
      17. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
      18. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
      19. org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
      20. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)
      21. org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
      22. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
      23. org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
      24. org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
      25. org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
      26. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
      27. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
      28. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
      29. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
      30. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
      30 frames
    4. Gradle Launcher
      RunBuildAction.run
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:90)
      2. org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
      3. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      4. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
      5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
      6. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:50)
      7. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:27)
      8. org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:40)
      8 frames
    5. Gradle Core
      Actions$RunnableActionAdapter.execute
      1. org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:169)
      1 frame
    6. Gradle Launcher
      GradleMain.main
      1. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
      2. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
      3. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
      4. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
      5. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
      6. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
      7. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
      8. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
      9. org.gradle.launcher.Main.doAction(Main.java:33)
      10. org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
      11. org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
      12. org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
      13. org.gradle.launcher.GradleMain.main(GradleMain.java:23)
      13 frames
    7. org.gradle.wrapper
      GradleWrapperMain.main
      1. org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
      2. org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
      3. org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
      3 frames