Error:Execution failed for task ':app:createDebugMainDexClassList'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_25\bin\java.exe'' finished with non-zero exit value 1
我的build.gradle是,
android {
compileSdkVersion 21
buildToolsVersion '19.1.0'
defaultConfig {
applicationId "com.example.izabuy"
minSdkVersion 14
multiDexEnabled true
targetSdkVersion 21
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
repositories {
jcenter()
mavenCentral()
maven { url 'https://dl.bintray.com/drummer-aidan/maven' }
dependencies {
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:support-v4:22.1.1'
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.loopj.android:android-async-http:1.4.7'
compile 'de.greenrobot:eventbus:2.4.0'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
compile 'com.etsy.android.grid:library:1.0.5'
compile 'com.facebook.android:facebook-android-sdk:4.1.0'
compile project(':AviarySDK')
compile 'com.google.android.gms:play-services:7.5.0'
compile 'com.android.support:cardview-v7:22.1.1'}
}
我沒有得到什麼問題在於此。如果我建立,重建和清理項目一切都很好。但是當我在消息顯示上運行應用程序時。我嘗試了一切,但仍顯示錯誤。請幫幫我。謝謝。