Error:(210) Attribute "background" already defined with incompatible format. Error:(64) Original attribute defined here. Error:(237) Attribute "navigationMode" already defined with incompatible format. Error:(210) Original attribute defined here. Error:(210) Original attribute defined here. Error:(237) Attribute "displayOptions" already defined with incompatible format. Error:(246) Attribute "actionBarSize" already defined with incompatible format. Error:(220) Original attribute defined here. Error:(246) Attribute "windowMinWidthMajor" already defined with incompatible format. Error:(220) Original attribute defined here. Error:(246) Attribute "windowMinWidthMinor" already defined with incompatible format. Error:(220) Original attribute defined here. Error:Execution failed for task ':app:processDebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/gumbi/Android/Sdk/build-tools/24.0.0/aapt'' finished with non-zero exit value 1
例如錯誤:(237)屬性「displayOptions」已用不兼容的格式定義。 在陸續上馬:在android studio中構建android項目時出現錯誤
<declare-styleable name="SherlockActionBar">
<attr name="navigationMode">
<enum name="normal" value="0"/>
<enum name="listMode" value="1"/>
<enum name="tabMode" value="2"/>
</attr>
<attr name="displayOptions">
<flag name="useLogo" value="0x1"/>
<flag name="showHome" value="0x2"/>
<flag name="homeAsUp" value="0x4"/>
<flag name="showTitle" value="0x8"/>
<flag name="showCustom" value="0x10"/>
<flag name="disableHome" value="0x20"/>
</attr>
<attr name="title" format="string"/>
<attr name="subtitle" format="string"/>
<attr name="titleTextStyle"/>
<attr name="subtitleTextStyle"/>
<attr name="icon" format="reference"/>
<attr name="logo" format="reference"/>
<attr name="divider"/>
<attr name="background"/>
<attr name="backgroundStacked" format="reference|color"/>
<attr name="backgroundSplit"/>
<attr name="customNavigationLayout" format="reference"/>
<attr name="height"/>
<attr name="homeLayout" format="reference"/>
<attr name="progressBarStyle" format="reference"/>
<attr name="indeterminateProgressStyle" format="reference"/>
<attr name="progressBarPadding" format="dimension"/>
<attr name="itemPadding" format="dimension"/>
</declare-styleable>
任何提示.. ??請 –
你可以[編輯]你的問題,包括更多的文字。意見是爲了回覆其他人 –
把你的代碼,你嘗試過呢。 – KrishnaJ