Error:Execution failed for task ':app:processDebugResources'. > com.android.Error:Execution failed for task ':app:processDebugResources'.> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\Android\android-sdk\build-tools\23.0.1\aapt.exe'' finished with non-zero exit value 1
是因为新加的自定义控件的属性文件,没有加format值导致。
引用
<declare-styleable name="xx">
<attr name="borderRadius" format="integer"/>
<attr name="type" format="integer"/>
</declare-styleable>
<attr name="borderRadius" format="integer"/>
<attr name="type" format="integer"/>
</declare-styleable>