以前这些配置工作正常,但从最后一天得到下面提到的错误。 不知道它有什么问题。
[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'
}
答案 0 :(得分:0)
使用最近的{% block javascripts %}
{{ parent() }}
{% include '@SyliusUi/_javascripts.html.twig' with {'path': 'assets/app/js/app.js'} %}
{% endblock %}
和compileSdkVersion
。例如,25而不是23。
您可能还需要将支持库版本更改为更新近的
buildToolsVersion
例如25.0.1或更新而不是23.1.1。