Thursday, August 2, 2018

android - Error Gradle Build C:Program FilesJavajdk1.7.0_79binjava.exe'' finished with non-zero exit value 1


Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
com.android.build.api.transform.TransformException: 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 with non-zero exit value 1





Here is my gradle build file:



apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "22.0.1"


defaultConfig {
applicationId "br.com.gerenciarsc.nfce"
minSdkVersion 12
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {

minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile('org.simpleframework:simple-xml:2.7.1') {
exclude group: 'xpp3', module: 'xpp3'

exclude group: 'stax', module: 'stax-api'
exclude group: 'stax', module: 'stax'
}
compile 'com.google.code.gson:gson:2.5'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.j256.ormlite:ormlite-core:4.48'
compile 'com.j256.ormlite:ormlite-android:4.48'
compile 'com.beardedhen:androidbootstrap:2.0.0'
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:design:23.1.1'

compile 'com.journeyapps:zxing-android-embedded:3.0.2@aar'
compile 'com.google.zxing:core:3.2.0'
compile 'br.com.uol.ps:library:0.8'
compile 'com.android.support:support-v4:23.1.1'
compile 'javax.xml.crypto:jsr105-api:1.0.1'
compile ('commons-io:commons-io:2.4'){
exclude group: 'org.apache.commons.collections', module: 'org.apache.commons.collections'
}
}

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...