【发布时间】:2016-09-13 14:03:04
【问题描述】:
当我运行应用程序时,出现了这个错误。
“错误:任务':app:dexDebug'执行失败。
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_60\bin\java.exe'' 完成非零退出值 1"
apply plugin: 'com.android.application'
repositories {
jcenter();
maven{
url "https://c2call.com/archiva/repository/release/"
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.2.0'
compile 'com.c2call.android:c2callsdk:1.6.+'
compile 'com.android.support:multidex:1.0.1'
}
android {
compileSdkVersion 23
buildToolsVersion '23.0.2'
defaultConfig {
applicationId "com.reveriegroup.islammortuza"
minSdkVersion 16
multiDexEnabled = true
}
dexOptions {
javaMaxHeapSize "4g"
}
useLibrary 'org.apache.http.legacy'
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
【问题讨论】:
标签: android