com.android.jack.api.v01.CompilationException: Failed to compile

Stack Overflow | Bulu | 7 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

    GitHub comment 17#242001929

    GitHub | 6 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)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Enabling Jack throws CompilationException

    Stack Overflow | 3 months ago | SlowAndSteady
    com.android.jack.api.v01.CompilationException: Failed to compile
  4. 0

    Compilation exception when Jack is enabled

    Stack Overflow | 3 months ago | Dev
    com.android.jack.api.v01.CompilationException: Failed to compile

    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.frontend.FrontendCompilationException

      Failed to compile

      at com.android.jack.Jack.buildSession()
    2. com.android.jack
      Api01ConfigImpl$Api01CompilationTaskImpl.run
      1. com.android.jack.Jack.buildSession(Jack.java:978)
      2. com.android.jack.Jack.run(Jack.java:496)
      3. com.android.jack.api.v01.impl.Api01ConfigImpl$Api01CompilationTaskImpl.run(Api01ConfigImpl.java:102)
      3 frames
    3. com.android.tools.build.builder
      AndroidBuilder.convertByteCodeUsingJackApis
      1. com.android.builder.core.AndroidBuilder.convertByteCodeUsingJackApis(AndroidBuilder.java:1931)
      1 frame
    4. com.android.tools.build.gradle
      JackTask$1.run
      1. com.android.build.gradle.tasks.JackTask.doMinification(JackTask.java:148)
      2. com.android.build.gradle.tasks.JackTask.access$000(JackTask.java:73)
      3. com.android.build.gradle.tasks.JackTask$1.run(JackTask.java:112)
      3 frames
    5. com.android.tools.build.builder
      Job.runTask
      1. com.android.builder.tasks.Job.runTask(Job.java:51)
      1 frame
    6. com.android.tools.build.gradle
      SimpleWorkQueue$EmptyThreadContext.runTask
      1. com.android.build.gradle.tasks.SimpleWorkQueue$EmptyThreadContext.runTask(SimpleWorkQueue.java:41)
      1 frame
    7. com.android.tools.build.builder
      WorkQueue.run
      1. com.android.builder.tasks.WorkQueue.run(WorkQueue.java:223)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame