vendredi 1 janvier 2016

Execution failed for task ':app:transformClassesWithDexForDebugAndroidTest'. > com.android.build.api.transform.TransformException

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

Aucun commentaire:

Enregistrer un commentaire