gpt4 book ai didi

android - 在 Jenkins 中自动构建 Actionbarsherlock 出错

转载 作者:太空宇宙 更新时间:2023-11-03 10:50:13 25 4
gpt4 key购买 nike

我有几个图书馆项目。

  1. ActionBarSherlock
  2. 九老安卓
  3. libCommon1
  4. libCommon2

libCommon2 引用了 ActionBarShelock、NineOldAndroid 和 libCommon1。

而我的MainGUI 项目是入口项目,它只引用了libCommon2。

我配置我的 Jenkins 以按以下顺序构建这些项目:

  1. ActionBarShelock
  2. 九老安卓
  3. libCommon1
  4. libCommon2
  5. 主界面

当我尝试构建项目时。前三个项目构建成功,当涉及到libCommon2时,有几个错误指向ActionBarShelock,关于字段重定义。

这里是错误:


-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.

[echo] Handling aidl files..
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:4: error: Attribute "titleTextStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:5: error: Attribute "subtitleTextStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:6: error: Attribute "background" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:7: error: Attribute "backgroundSplit" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:8: error: Attribute "height" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:9: error: Attribute "divider" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:17: error: Attribute "actionBarTabStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:18: error: Attribute "actionBarTabBarStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:19: error: Attribute "actionBarTabTextStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:20: error: Attribute "actionOverflowButtonStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:22: error: Attribute "actionBarStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:27: error: Attribute "actionBarSplitStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:35: error: Attribute "actionBarWidgetTheme" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:38: error: Attribute "actionBarSize" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:42: error: Attribute "actionBarDivider" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:44: error: Attribute "actionBarItemBackground" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:47: error: Attribute "actionMenuTextAppearance" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:49: error: Attribute "actionMenuTextColor" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:55: error: Attribute "actionModeStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:56: error: Attribute "actionModeCloseButtonStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:58: error: Attribute "actionModeBackground" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:60: error: Attribute "actionModeSplitBackground" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:62: error: Attribute "actionModeCloseDrawable" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:64: error: Attribute "actionModeShareDrawable" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:67: error: Attribute "actionModePopupWindowStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:75: error: Attribute "buttonStyleSmall" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:81: error: Attribute "windowContentOverlay" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:84: error: Attribute "textAppearanceLargePopupMenu" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:87: error: Attribute "textAppearanceSmallPopupMenu" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:91: error: Attribute "textAppearanceSmall" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:93: error: Attribute "textColorPrimary" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:94: error: Attribute "textColorPrimaryDisableOnly" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:95: error: Attribute "textColorPrimaryInverse" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:97: error: Attribute "spinnerItemStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:98: error: Attribute "spinnerDropDownItemStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:106: error: Attribute "listPreferredItemHeightSmall" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:109: error: Attribute "listPreferredItemPaddingLeft" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:111: error: Attribute "listPreferredItemPaddingRight" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:114: error: Attribute "textAppearanceListItemSmall" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:117: error: Attribute "windowMinWidthMajor" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:118: error: Attribute "windowMinWidthMinor" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:123: error: Attribute "dividerVertical" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:125: error: Attribute "actionDropDownStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:126: error: Attribute "actionButtonStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:127: error: Attribute "homeAsUpIndicator" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:128: error: Attribute "dropDownListViewStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:129: error: Attribute "popupMenuStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:130: error: Attribute "dropdownListPreferredItemHeight" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:131: error: Attribute "actionSpinnerItemStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:132: error: Attribute "windowNoTitle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:133: error: Attribute "windowActionBar" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:134: error: Attribute "windowActionBarOverlay" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:135: error: Attribute "windowActionModeOverlay" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:136: error: Attribute "windowSplitActionBar" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:139: error: Attribute "listPopupWindowStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:143: error: Attribute "activityChooserViewStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:145: error: Attribute "activatedBackgroundIndicator" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:148: error: Attribute "absForceOverflow" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:157: error: Attribute "navigationMode" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:166: error: Attribute "displayOptions" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:175: error: Attribute "title" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:177: error: Attribute "subtitle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:183: error: Attribute "icon" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:185: error: Attribute "logo" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:191: error: Attribute "backgroundStacked" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:195: error: Attribute "customNavigationLayout" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:199: error: Attribute "homeLayout" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:201: error: Attribute "progressBarStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:203: error: Attribute "indeterminateProgressStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:205: error: Attribute "progressBarPadding" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:208: error: Attribute "itemPadding" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:227: error: Attribute "itemTextAppearance" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:229: error: Attribute "horizontalDivider" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:231: error: Attribute "verticalDivider" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:233: error: Attribute "headerBackground" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:235: error: Attribute "itemBackground" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:237: error: Attribute "windowAnimationStyle" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:239: error: Attribute "itemIconDisabledAlpha" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:241: error: Attribute "preserveIconSpacing" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:250: error: Attribute "initialActivityCount" has already been defined
[aapt] /var/lib/jenkins/jobs/Vinson_libactionbarsherlock/workspace/res/values/abs__attrs.xml:257: error: Attribute "expandActivityOverflowButtonDrawable" has already been defined

我不确定它是来自 ActionBarShelock 还是来 self 的 Jenkins 配置。如果有人对这些错误有任何想法,请提供帮助。

最佳答案

我偶然发现了一个类似的问题。另一个项目(在我的例子中是 aviary.com sdk)似乎在第 262 行的 aviary_attrs.xml 中具有相同的属性名称。也许重命名它们可以解决问题?

关于android - 在 Jenkins 中自动构建 Actionbarsherlock 出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14422328/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com