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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by zhangyunhua
, 1 year ago
Execution failed for task ':okbuck'.
via GitHub by NickPan365
, 1 year ago
Execution failed for task ':okbuck'.
via GitHub by LichFaker
, 1 year ago
Execution failed for task ':okbuck'.
via GitHub by letientai299
, 1 year ago
Execution failed for task ':app:processDebugResources'.
via GitHub by hemf2010
, 1 year ago
Execution failed for task ':app:transformClassesWithAuxiliaryInjectForWINBONSDebug'.
via GitHub by sahityaPasnoor
, 1 year ago
Execution failed for task ':Panel_Android:compileDevelopmentDebugJavaWithJavac'.
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':okbuck'.
at com.github.okbuilds.core.model.AndroidTarget.(AndroidTarget.groovy:46)
at com.github.okbuilds.core.model.AndroidLibTarget.(AndroidLibTarget.groovy:13)
at com.github.okbuilds.core.util.ProjectUtil$_getTargetForOutput_closure4.doCall(ProjectUtil.groovy:72)
at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:67)
at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.java:110)
at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.java:115)
at com.github.okbuilds.core.util.ProjectUtil.getTargetForOutput(ProjectUtil.groovy:67)
at com.github.okbuilds.core.util.ProjectUtil$getTargetForOutput$1.call(Unknown Source)
at com.github.okbuilds.core.model.Scope$_extractConfigurations_closure2$_closure3.doCall(Scope.groovy:61)
at com.github.okbuilds.core.model.Scope$_extractConfigurations_closure2.doCall(Scope.groovy:54)
at com.github.okbuilds.core.model.Scope.extractConfigurations(Scope.groovy:50)
at com.github.okbuilds.core.model.Scope.(Scope.groovy:40)
at com.github.okbuilds.core.model.Scope.(Scope.groovy:31)
at com.github.okbuilds.core.model.JavaTarget.getApt(JavaTarget.groovy:31)
at com.github.okbuilds.core.model.JavaTarget.resolve(JavaTarget.groovy:75)
at com.github.okbuilds.core.model.JavaTarget$resolve.call(Unknown Source)
at com.github.okbuilds.okbuck.generator.BuckFileGenerator$_resolve_closure5.doCall(BuckFileGenerator.groovy:52)
at com.github.okbuilds.okbuck.generator.BuckFileGenerator.resolve(BuckFileGenerator.groovy:51)
at com.github.okbuilds.okbuck.generator.BuckFileGenerator$_generate_closure1.doCall(BuckFileGenerator.groovy:29)
at com.github.okbuilds.okbuck.generator.BuckFileGenerator.generate(BuckFileGenerator.groovy:28)
at com.github.okbuilds.okbuck.generator.BuckFileGenerator$generate.call(Unknown Source)
at com.github.okbuilds.okbuck.OkBuckGradlePlugin.generate(OkBuckGradlePlugin.groovy:96)
at com.github.okbuilds.okbuck.OkBuckGradlePlugin$_apply_closure2.doCall(OkBuckGradlePlugin.groovy:50)
at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:554)
at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:535)
at org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:77)
at org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:73)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.