com.android.jack.api.v01.CompilationException

Stack Overflow | Murat K. | 3 months ago
  1. 0

    Error using Jack compiler - app/build/intermediates/packaged/debug/classes.zip' is an invalid library

    Stack Overflow | 6 months ago | Daniele Vitali
    com.android.jack.api.v01.CompilationException: Library reading phase: file '/Users/daniele.vitali/Development/android-studio/INTROCKAND/app/build/intermediates/packaged/debug/classes.zip' is an invalid library
  2. 0

    GitHub comment 17#242001929

    GitHub | 3 months ago | Miger88
    com.android.jack.api.v01.CompilationException: Library reading phase: Type com.google.inject.CreationException from file 'F:\Android_Studio_Workspace\JASDB\app\build\intermediates\jill\debug\packaged\guice-3.0-no_aop-b10b9c9189ee903679dde521c0f49f4c3b1278bd.jar' has already been imported from file 'F:\Android_Studio_Workspace\JASDB\app\build\intermediates\jill\debug\packaged\guice-3.0-58a5080fbfafd4ec3ff21b847288d8a57eabb9ec.jar', type 'com.google.inject.CreationException' (see property 'jack.import.type.policy' for type collision policy)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Build failures with Jack compiler

    GitHub | 3 months ago | Aranda
    com.android.jack.api.v01.CompilationException: Library reading phase: file '/Users/aranda/code/SignatureCapture/app/build/intermediates/packaged/debug/classes.zip' is an invalid library
  5. 0

    java.io.IOException: com.android.jack.api.v01.CompilationException: Failed to compile

    Stack Overflow | 5 months ago | Bulu
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':AndroidApp:compileMyAppDebugJavaWithJack'.

    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. com.android.jack.api.v01.CompilationException

      No message provided

      at com.android.jack.api.v01.impl.Api01ConfigImpl$Api01CompilationTaskImpl.run()
    2. com.android.jack
      Api01ConfigImpl$Api01CompilationTaskImpl.run
      1. com.android.jack.api.v01.impl.Api01ConfigImpl$Api01CompilationTaskImpl.run(Api01ConfigImpl.java:113)
      1 frame
    3. com.android.tools.build.builder
      JackConversionCache.convertLibrary
      1. com.android.builder.core.AndroidBuilder.convertByteCodeUsingJackApis(AndroidBuilder.java:1852)
      2. com.android.builder.core.AndroidBuilder.convertByteCodeUsingJack(AndroidBuilder.java:1679)
      3. com.android.builder.internal.compiler.JackConversionCache.convertLibrary(JackConversionCache.java:99)
      3 frames
    4. com.android.tools.build.gradle
      JackPreDexTransform.transform
      1. com.android.build.gradle.tasks.JackPreDexTransform.runJack(JackPreDexTransform.java:174)
      2. com.android.build.gradle.tasks.JackPreDexTransform.transform(JackPreDexTransform.java:119)
      2 frames
    5. com.android.build
      TransformTask$2.call
      1. com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:178)
      2. com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:174)
      2 frames
    6. com.android.builder
      ThreadRecorder.record
      1. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
      1 frame
    7. com.android.build
      TransformTask.transform
      1. com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:173)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    9. org.gradle.internal
      JavaMethod.invoke
      1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
      1 frame
    10. Gradle Core
      DefaultGradleLauncher.run
      1. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:245)
      2. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
      3. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:232)
      4. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
      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:66)
      10. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      11. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
      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.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
      16. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
      17. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
      18. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
      19. org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
      20. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
      21. org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
      22. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
      23. org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
      24. org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
      25. org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
      26. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
      27. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
      28. org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:153)
      29. org.gradle.internal.Factories$1.create(Factories.java:22)
      30. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
      31. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
      32. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:150)
      33. org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
      34. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
      35. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
      36. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
      37. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
      38. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
      39. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
      39 frames
    11. Gradle Launcher
      InProcessBuildActionExecuter$DefaultBuildController.run
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
      1 frame
    12. org.gradle.tooling
      BuildModelActionRunner.run
      1. org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:46)
      1 frame
    13. Gradle Launcher
      ChainingBuildActionRunner.run
      1. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      1 frame
    14. org.gradle.tooling
      SubscribableBuildActionRunner.run
      1. org.gradle.tooling.internal.provider.runner.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:58)
      1 frame
    15. Gradle Launcher
      ForwardClientInput$2.call
      1. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      2. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
      3. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
      4. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
      5. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
      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
    16. Gradle Core
      Swapper.swap
      1. org.gradle.util.Swapper.swap(Swapper.java:38)
      1 frame
    17. 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:60)
      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:237)
      14 frames
    18. 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
    19. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames