我使用的是 android 版本 4.2.2(API 17),我在控制台中收到很多错误。错误的格式为 [[[Attribute ""has already been defined in android]]] 引号内有很多值。例如标题、高度、isLightTheme、windowActionBar 颜色、spinBars、drawableSize、gapBetweenBars、topBottomBarArrowSize 等..... 控制台如下图......
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:28: error: Attribute "title" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:29: error: Attribute "height" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:31: error: Attribute "isLightTheme" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:43: error: Attribute "windowActionBar" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:48: error: Attribute "windowActionBarOverlay" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:52: error: Attribute "windowActionModeOverlay" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:57: error: Attribute "windowFixedWidthMajor" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:61: error: Attribute "windowFixedHeightMinor" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:66: error: Attribute "windowFixedWidthMinor" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:70: error: Attribute "windowFixedHeightMajor" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:79: error: Attribute "actionBarTabStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:80: error: Attribute "actionBarTabBarStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:81: error: Attribute "actionBarTabTextStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:82: error: Attribute "actionOverflowButtonStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:83: error: Attribute "actionOverflowMenuStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:86: error: Attribute "actionBarPopupTheme" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:88: error: Attribute "actionBarStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:93: error: Attribute "actionBarSplitStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:97: error: Attribute "actionBarTheme" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:105: error: Attribute "actionBarWidgetTheme" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:108: error: Attribute "actionBarSize" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:112: error: Attribute "actionBarDivider" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:114: error: Attribute "actionBarItemBackground" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:117: error: Attribute "actionMenuTextAppearance" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:120: error: Attribute "actionMenuTextColor" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:127: error: Attribute "actionModeStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:128: error: Attribute "actionModeCloseButtonStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:130: error: Attribute "actionModeBackground" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:132: error: Attribute "actionModeSplitBackground" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:134: error: Attribute "actionModeCloseDrawable" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:136: error: Attribute "actionModeCutDrawable" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:138: error: Attribute "actionModeCopyDrawable" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:140: error: Attribute "actionModePasteDrawable" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:142: error: Attribute "actionModeSelectAllDrawable" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:144: error: Attribute "actionModeShareDrawable" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:146: error: Attribute "actionModeFindDrawable" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:148: error: Attribute "actionModeWebSearchDrawable" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:151: error: Attribute "actionModePopupWindowStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:159: error: Attribute "textAppearanceLargePopupMenu" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:161: error: Attribute "textAppearanceSmallPopupMenu" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:170: error: Attribute "actionDropDownStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:172: error: Attribute "dropdownListPreferredItemHeight" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:175: error: Attribute "spinnerStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:177: error: Attribute "spinnerDropDownItemStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:179: error: Attribute "homeAsUpIndicator" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:182: error: Attribute "actionButtonStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:186: error: Attribute "buttonBarStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:189: error: Attribute "buttonBarButtonStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:193: error: Attribute "selectableItemBackground" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:195: error: Attribute "selectableItemBackgroundBorderless" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:197: error: Attribute "dividerVertical" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:199: error: Attribute "dividerHorizontal" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:201: error: Attribute "activityChooserViewStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:204: error: Attribute "toolbarStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:206: error: Attribute "toolbarNavigationButtonStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:209: error: Attribute "popupMenuStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:211: error: Attribute "popupWindowStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:214: error: Attribute "editTextColor" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:216: error: Attribute "editTextBackground" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:219: error: Attribute "switchStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:226: error: Attribute "textAppearanceSearchResultTitle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:228: error: Attribute "textAppearanceSearchResultSubtitle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:230: error: Attribute "textColorSearchUrl" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:232: error: Attribute "searchViewStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:240: error: Attribute "listPreferredItemHeight" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:242: error: Attribute "listPreferredItemHeightSmall" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:244: error: Attribute "listPreferredItemHeightLarge" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:247: error: Attribute "listPreferredItemPaddingLeft" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:249: error: Attribute "listPreferredItemPaddingRight" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:252: error: Attribute "dropDownListViewStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:253: error: Attribute "listPopupWindowStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:256: error: Attribute "textAppearanceListItem" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:258: error: Attribute "textAppearanceListItemSmall" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:267: error: Attribute "panelBackground" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:269: error: Attribute "panelMenuListWidth" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:271: error: Attribute "panelMenuListTheme" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:273: error: Attribute "listChoiceBackgroundIndicator" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:282: error: Attribute "colorPrimary" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:286: error: Attribute "colorPrimaryDark" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:290: error: Attribute "colorAccent" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:293: error: Attribute "colorControlNormal" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:296: error: Attribute "colorControlActivated" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:299: error: Attribute "colorControlHighlight" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:302: error: Attribute "colorButtonNormal" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:305: error: Attribute "colorSwitchThumbNormal" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:321: error: Attribute "navigationMode" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:330: error: Attribute "displayOptions" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:342: error: Attribute "subtitle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:344: error: Attribute "titleTextStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:346: error: Attribute "subtitleTextStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:348: error: Attribute "icon" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:350: error: Attribute "logo" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:352: error: Attribute "divider" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:354: error: Attribute "background" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:356: error: Attribute "backgroundStacked" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:358: error: Attribute "backgroundSplit" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:360: error: Attribute "customNavigationLayout" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:364: error: Attribute "homeLayout" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:366: error: Attribute "progressBarStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:368: error: Attribute "indeterminateProgressStyle" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:370: error: Attribute "progressBarPadding" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:375: error: Attribute "itemPadding" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:377: error: Attribute "hideOnContentScroll" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:380: error: Attribute "contentInsetStart" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:383: error: Attribute "contentInsetEnd" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:386: error: Attribute "contentInsetLeft" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:389: error: Attribute "contentInsetRight" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:391: error: Attribute "elevation" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:394: error: Attribute "popupTheme" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:418: error: Attribute "closeItemLayout" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:423: error: Attribute "paddingStart" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:425: error: Attribute "paddingEnd" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:452: error: Attribute "preserveIconSpacing" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:534: error: Attribute "showAsAction" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:559: error: Attribute "actionLayout" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:564: error: Attribute "actionViewClass" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:570: error: Attribute "actionProviderClass" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:576: error: Attribute "prompt" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:578: error: Attribute "spinnerMode" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:600: error: Attribute "popupPromptView" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:605: error: Attribute "disableChildrenWhenDisabled" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:611: error: Attribute "layout" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:614: error: Attribute "iconifiedByDefault" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:618: error: Attribute "queryHint" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:624: error: Attribute "closeIcon" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:626: error: Attribute "goIcon" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:628: error: Attribute "searchIcon" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:630: error: Attribute "voiceIcon" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:632: error: Attribute "commitIcon" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:634: error: Attribute "suggestionRowLayout" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:636: error: Attribute "queryBackground" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:638: error: Attribute "submitBackground" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:645: error: Attribute "initialActivityCount" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:652: error: Attribute "expandActivityOverflowButtonDrawable" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:657: error: Attribute "textAllCaps" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:683: error: Attribute "measureWithLargestChild" has already been defined
[2014-12-18 10:22:16 - sample]
[2014-12-18 10:22:16 - sample] /mnt/D/workspaceinnerimage1/appcompat_v7/res/values/attrs.xml:687: error: Attribute "showDividers" has already been defined
如有任何帮助,我们将不胜感激。提前致谢......
最佳答案
试试这个,当我将 ShowCaseView 库添加到我的项目时,它解决了同样的问题:
问题是我使用的一些库正在导入 android-support-v7-appcompact 而我正在导入库 JWAction-Bar -夏洛克。
感觉不能一起导入。
Solution:
- Check in Properties / Android / Librarys wich librarys are you importing, and remove one of the two.
- Check what jars you added on the libs folder for the >comfliction imports.
希望这对您有所帮助。
关于android - 使用支持库时出现错误,指出属性 ""已在 android 中定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27539883/
我正在学习如何使用Nokogiri,根据这段代码我遇到了一些问题:require'rubygems'require'mechanize'post_agent=WWW::Mechanize.newpost_page=post_agent.get('http://www.vbulletin.org/forum/showthread.php?t=230708')puts"\nabsolutepathwithtbodygivesnil"putspost_page.parser.xpath('/html/body/div/div/div/div/div/table/tbody/tr/td/div
我有一个Ruby程序,它使用rubyzip压缩XML文件的目录树。gem。我的问题是文件开始变得很重,我想提高压缩级别,因为压缩时间不是问题。我在rubyzipdocumentation中找不到一种为创建的ZIP文件指定压缩级别的方法。有人知道如何更改此设置吗?是否有另一个允许指定压缩级别的Ruby库? 最佳答案 这是我通过查看rubyzip内部创建的代码。level=Zlib::BEST_COMPRESSIONZip::ZipOutputStream.open(zip_file)do|zip|Dir.glob("**/*")d
类classAprivatedeffooputs:fooendpublicdefbarputs:barendprivatedefzimputs:zimendprotecteddefdibputs:dibendendA的实例a=A.new测试a.foorescueputs:faila.barrescueputs:faila.zimrescueputs:faila.dibrescueputs:faila.gazrescueputs:fail测试输出failbarfailfailfail.发送测试[:foo,:bar,:zim,:dib,:gaz].each{|m|a.send(m)resc
很好奇,就使用rubyonrails自动化单元测试而言,你们正在做什么?您是否创建了一个脚本来在cron中运行rake作业并将结果邮寄给您?git中的预提交Hook?只是手动调用?我完全理解测试,但想知道在错误发生之前捕获错误的最佳实践是什么。让我们理所当然地认为测试本身是完美无缺的,并且可以正常工作。下一步是什么以确保他们在正确的时间将可能有害的结果传达给您? 最佳答案 不确定您到底想听什么,但是有几个级别的自动代码库控制:在处理某项功能时,您可以使用类似autotest的内容获得关于哪些有效,哪些无效的即时反馈。要确保您的提
假设我做了一个模块如下:m=Module.newdoclassCendend三个问题:除了对m的引用之外,还有什么方法可以访问C和m中的其他内容?我可以在创建匿名模块后为其命名吗(就像我输入“module...”一样)?如何在使用完匿名模块后将其删除,使其定义的常量不再存在? 最佳答案 三个答案:是的,使用ObjectSpace.此代码使c引用你的类(class)C不引用m:c=nilObjectSpace.each_object{|obj|c=objif(Class===objandobj.name=~/::C$/)}当然这取决于
我正在尝试使用ruby和Savon来使用网络服务。测试服务为http://www.webservicex.net/WS/WSDetails.aspx?WSID=9&CATID=2require'rubygems'require'savon'client=Savon::Client.new"http://www.webservicex.net/stockquote.asmx?WSDL"client.get_quotedo|soap|soap.body={:symbol=>"AAPL"}end返回SOAP异常。检查soap信封,在我看来soap请求没有正确的命名空间。任何人都可以建议我
我正在尝试设置一个puppet节点,但rubygems似乎不正常。如果我通过它自己的二进制文件(/usr/lib/ruby/gems/1.8/gems/facter-1.5.8/bin/facter)在cli上运行facter,它工作正常,但如果我通过由rubygems(/usr/bin/facter)安装的二进制文件,它抛出:/usr/lib/ruby/1.8/facter/uptime.rb:11:undefinedmethod`get_uptime'forFacter::Util::Uptime:Module(NoMethodError)from/usr/lib/ruby
关闭。这个问题是opinion-based.它目前不接受答案。想要改进这个问题?更新问题,以便editingthispost可以用事实和引用来回答它.关闭4年前。Improvethisquestion我想在固定时间创建一系列低音和高音调的哔哔声。例如:在150毫秒时发出高音调的蜂鸣声在151毫秒时发出低音调的蜂鸣声200毫秒时发出低音调的蜂鸣声250毫秒的高音调蜂鸣声有没有办法在Ruby或Python中做到这一点?我真的不在乎输出编码是什么(.wav、.mp3、.ogg等等),但我确实想创建一个输出文件。
我正在尝试测试是否存在表单。我是Rails新手。我的new.html.erb_spec.rb文件的内容是:require'spec_helper'describe"messages/new.html.erb"doit"shouldrendertheform"dorender'/messages/new.html.erb'reponse.shouldhave_form_putting_to(@message)with_submit_buttonendendView本身,new.html.erb,有代码:当我运行rspec时,它失败了:1)messages/new.html.erbshou
我在从html页面生成PDF时遇到问题。我正在使用PDFkit。在安装它的过程中,我注意到我需要wkhtmltopdf。所以我也安装了它。我做了PDFkit的文档所说的一切......现在我在尝试加载PDF时遇到了这个错误。这里是错误:commandfailed:"/usr/local/bin/wkhtmltopdf""--margin-right""0.75in""--page-size""Letter""--margin-top""0.75in""--margin-bottom""0.75in""--encoding""UTF-8""--margin-left""0.75in""-