1

here is my full code, when I run following code with "Run/Debug configurations > Android Tests"

class KernelTest extends Specification {
    def "match"() {
        given:
        println("smth");
    }
}

I get error:

Execution failed for task ':app:transformClassesWithDexForDebugAndroidTest'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/jdk8/bin/java'' finished with non-zero exit value 3

here is full output

how to fix it?

update

I have check the question, but I don't know which jar is duplicated

Community
  • 1
  • 1
pozklundw
  • 505
  • 1
  • 9
  • 16

1 Answers1

0

See the full output, the reason is about groovy, I remove all groovy dependencies and work well

pozklundw
  • 505
  • 1
  • 9
  • 16