0
以前这些配置工作正常,但从最后一天得到下面提到的错误。 任何想法是什么问题。当我尝试运行android项目时出现两个资源和一个调试错误
[ROOT_PATH]/app/build/intermediates/res/merged/debug/values-v24/values-v24.xml
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Android/sdk/build-tools/23.0.2/aapt'' finished with non-zero exit value 1
Information:BUILD FAILED
Information:Total time: 3.962 secs
Information:3 errors
Information:0 warnings
这里是我的build.gradle文件:
compileSdkVersion 23
buildToolsVersion '23.0.3'
defaultConfig {
applicationId "XXXXXXXXXXX"
minSdkVersion 17
targetSdkVersion 23
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:support-v13:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
}
尝试更改buildToolsVersion '23 .0.2' – Drim
@Drim,尝试但没有运气。 '23 .0.2'产生相同的错误。 – Ahsanwarsi