java - I am getting ****finished with non-zero exit value 2. how to resolve it? -
this question has answer here:
i have read many questions related problem of them pointing same solution jar duplicate in dependencies. have check dependencies no duplicate jar please tell how should resolve issue
**
"error:execution failed task ':app:dexdebug'. > com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command 'c:\program files\java\jdk1.7.0_79\bin\java.exe'' finished non-zero exit value 2"
**
here's dependencies files
compile filetree(dir: 'libs', include: ['*.jar']) compile files('libs/nextomeframework_beta1_mod.jar') compile 'gov.nist.math:jama:1.0.3' compile 'org.apache.commons:commons-math3:3.3' compile 'com.google.code.gson:gson:2.2.4' compile 'joda-time:joda-time:2.3' compile 'com.fasterxml.jackson.core:jackson-core:2.5.1' compile 'com.fasterxml.jackson.core:jackson-databind:2.5.1' compile 'com.fasterxml.jackson.core:jackson-annotations:2.5.1' compile 'com.googlecode.efficient-java-matrix-library:core:0.26' compile 'org.osmdroid:osmdroid-android:4.3' compile 'org.slf4j:slf4j-simple:1.6.1' compile 'commons-io:commons-io:2.4' compile 'org.codehaus.jackson:jackson-mapper-asl:1.8.5' compile 'org.codehaus.jackson:jackson-core-asl:1.8.5' compile 'com.android.support:appcompat-v7:23.1.0' compile 'com.android.support:design:23.1.0' compile files('libs/concurrent.jar') compile files('libs/jama-1.0.3.jar') compile files('libs/zip4j_1.3.2.jar')
i think there duplication in jama
library have mentioned
compile 'gov.nist.math:jama:1.0.3'
and
compile files('libs/jama-1.0.3.jar')
try removing 1 of them.
Comments
Post a Comment