dexDebug錯誤這是在應用程序中使用我的全部app.gradle文件獲取應用程序:在Android Studio中
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "23.0.0 rc2"
defaultConfig {
applicationId "com.me.album"
minSdkVersion 14
targetSdkVersion 22
versionCode 4
versionName
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
}
lintOptions {
checkReleaseBuilds false
}
}
dependencies {
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.nineoldandroids:library:2.4.0'
compile project('libraries:library')
compile project('libraries:animation_library')
compile 'de.hdodenhof:circleimageview:1.3.0'
compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'com.pnikosis:materialish-progress:1.5'
compile files('libs/activation.jar')
compile files('libs/additionnal.jar')
compile files('libs/crittercism_v5_0_6_sdkonly.jar')
compile files('libs/httpcore-4.3.3.jar')
compile files('libs/httpmime-4.3.6.jar')
compile files('libs/mail.jar')
compile files('libs/mpandroidchartlibrary-2-1-5.jar')
compile 'com.facebook.android:facebook-android-sdk:4.5.0'
compile project(':app:libraries:ExpandableLibrary')
compile project(':app:libraries:library_appintro')
compile project(':app:libraries:library_circular_loading:library')
compile 'com.google.android.gms:play-services-maps:6.5.87'
compile project(path: ':Push Notification', configuration: 'android-endpoints')
}
,並始終得到錯誤
Error:Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2
不安裝該版本在烏拉圭回合SK的經理嗎?的minSdkVersion 14 targetSdkVersion 22 – KOTIOS
是的,我已經安裝了,這在幾天之前工作正常。但是現在,在添加一些依賴關係之後,獲取錯誤 – ranjith
將buildToolsVersion「23.0.0 rc2」更改爲buildToolsVersion「23.0.0」 –