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

GitHub | tbruceyu | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    gradle deamon进程常驻,静态的sBackupMap导致多工程编译失败

    GitHub | 6 months ago | tbruceyu
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:assembleDebug'.

    Root Cause Analysis

    1. java.io.FileNotFoundException

      /Users/yutao/Projects/works/everphoto_backup/app/build/freeline/freeline-backup/1474256212973 (No such file or directory)

      at com.antfortune.freeline.FreelineUtils.copyFile()
    2. com.antfortune.freeline
      FreelinePlugin$_apply_closure4_closure8_closure19.doCall
      1. com.antfortune.freeline.FreelineUtils.copyFile(FreelineUtils.groovy:129)
      2. com.antfortune.freeline.FreelineUtils$copyFile$10.call(Unknown Source)
      3. com.antfortune.freeline.FreelinePlugin$_rollBackClasses_closure7.doCall(FreelinePlugin.groovy:358)
      4. com.antfortune.freeline.FreelinePlugin.rollBackClasses(FreelinePlugin.groovy:357)
      5. com.antfortune.freeline.FreelinePlugin$_apply_closure4_closure8_closure19.doCall(FreelinePlugin.groovy:233)
      5 frames
    3. Gradle Core
      StoppableExecutorImpl$1.run
      1. org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:590)
      2. org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:571)
      3. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
      4. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
      5. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
      6. org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
      7. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)
      8. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      9. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
      10. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
      11. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
      12. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
      13. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
      14. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
      15. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
      16. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
      17. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      18. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      18 frames