Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/volume1/Android Studio/android-sdk-linux/build-tools/23.0.2/aapt'' finished with non-zero exit value 1
gradle这个:错误:较新:执行失败的任务':app:dexDebug'。 com.android.ide.common.process.ProcessException
apply plugin: 'com.android.application'
android {
packagingOptions {
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/dependencies.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/license.txt'
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/notice.txt'
}
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.ibussinesscard"
multiDexEnabled true
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
// compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:appcompat-v7:23.1.0'
}
- 我曾尝试对堆栈溢出,并在谷歌提供的所有可能的解决方案..
- 我有问题解决进口..
- 重建或清洁或更换buildToolVersion是不是为我工作
- 重新启动或建设 - >做的项目也没有为我工作
- multiDexEnabled真实也没有工作
'编译“com.android.support扩展您的主要活动23.1.0'' –
我已经添加multiDexEnable ..不工作 – tiger