I am building an app where I am using code for Fused provider from this tutorial link but when I want to run my app I receive this error:
Error:Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-7-openjdk-amd64/bin/java'' finished with non-zero exit value 1
This is my Gradle file:
apply plugin: 'com.android.application'
android { compileSdkVersion 23 buildToolsVersion "24.0.0" dexOptions { javaMaxHeapSize "4g" }
defaultConfig {
applicationId "com.example.dev3.fusedtutorial"
minSdkVersion 9
targetSdkVersion 23
multiDexEnabled true
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.google.android.gms:play-services:9.2.0' }
Can anyone help me?